#B230B6#B230B6

#B230B6 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.220 H 326.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B230B6
RGBrgb(178, 48, 182)
HSLhsl(298, 58%, 45%)
HSVhsv(298, 74%, 71%)
CMYKcmyk(2.2%, 73.6%, 0%, 28.6%)
CIE-LABlab(45.58, 66.72, -43.54)
CIE-LCHlch(45.58, 79.67, 326.87°)
OKLaboklab(55.99% 0.1843 -0.1209)
OKLCHoklch(55.99% 0.22 326.7)
XYZxyz(27.8601, 14.9582, 45.6667)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B230B6 #34B630
analogous
#6F30B6 #B230B6 #B63077
triadic
#B230B6 #B6B230 #30B6B2
tetradic
#B230B6 #B66F30 #34B630 #3077B6
square
#B230B6 #B66F30 #34B630 #3077B6
split-complementary
#B230B6 #77B630 #30B66F
monochromatic
#531655 #832386 #B230B6 #CE52D1 #DB82DE

Accessibility & contrast

On white

5.26
#B230B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B230B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B230B6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B230B6#FFFFFF#000000##FFFFFF
##B230B61.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A61BA
Deuteranopia (green-blind)
#5172B3
Tritanopia (blue-blind)
#B74671
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b230b6;
/* rgb */ color: rgb(178, 48, 182);
/* oklch */ color: oklch(56.0% 0.220 326.7);
Tailwind
colors: {
  custom: {
    50: '#cd76cc',
    500: '#b230b6',
    950: '#000000',
  },
}
SCSS
$custom: #b230b6;
$custom-light: #cd76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b230b6",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 298.209,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.22039,
    "h": 326.7
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#B230B6
secondary
#7DC77B
accent
#E1464B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B230B6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B230B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva