#B23DD9#B23DD9

#B23DD9 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.3% C 0.235 H 316.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B23DD9
RGBrgb(178, 61, 217)
HSLhsl(285, 67%, 55%)
HSVhsv(285, 72%, 85%)
CMYKcmyk(18%, 71.9%, 0%, 14.9%)
CIE-LABlab(49.27, 68.49, -57.88)
CIE-LCHlch(49.27, 89.67, 319.80°)
OKLaboklab(59.29% 0.1698 -0.1629)
OKLCHoklch(59.29% 0.235 316.2)
XYZxyz(32.5513, 17.8135, 67.3559)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DD9 #64D93D
analogous
#643DD9 #B23DD9 #D93DB2
triadic
#B23DD9 #D9B23D #3DD9B2
tetradic
#B23DD9 #D9643D #64D93D #3DB2D9
square
#B23DD9 #D9643D #64D93D #3DB2D9
split-complementary
#B23DD9 #B2D93D #3DD964
monochromatic
#681982 #9124B5 #B23DD9 #C670E3 #DBA3ED

Accessibility & contrast

On white

4.60
#B23DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B23DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DD9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DD9#FFFFFF#000000##FFFFFF
##B23DD91.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#3C78D6
Tritanopia (blue-blind)
#AF5E88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b23dd9;
/* rgb */ color: rgb(178, 61, 217);
/* oklch */ color: oklch(59.3% 0.235 316.2);
Tailwind
colors: {
  custom: {
    50: '#cd7de5',
    500: '#b23dd9',
    950: '#000000',
  },
}
SCSS
$custom: #b23dd9;
$custom-light: #cd7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dd9",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 285,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59294,
    "c": 0.23535,
    "h": 316.2
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#B23DD9
secondary
#A8DA98
accent
#EA3E69
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B23DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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