#D239C9#D239C9

#D239C9 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.5% C 0.241 H 330.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D239C9
RGBrgb(210, 57, 201)
HSLhsl(304, 63%, 52%)
HSVhsv(304, 73%, 82%)
CMYKcmyk(0%, 72.9%, 4.3%, 17.6%)
CIE-LABlab(52.78, 73.74, -42.82)
CIE-LCHlch(52.78, 85.27, 329.86°)
OKLaboklab(62.47% 0.2096 -0.1181)
OKLCHoklch(62.47% 0.241 330.6)
XYZxyz(38.5840, 20.8480, 57.2389)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239C9 #39D242
analogous
#8E39D2 #D239C9 #D2397D
triadic
#D239C9 #C9D239 #39C9D2
tetradic
#D239C9 #D28E39 #39D242 #397DD2
square
#D239C9 #D28E39 #39D242 #397DD2
split-complementary
#D239C9 #7DD239 #39D28E
monochromatic
#761B70 #A826A0 #D239C9 #DD6BD7 #E99DE4

Accessibility & contrast

On white

4.06
#D239C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#D239C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239C9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239C9#FFFFFF#000000##000000
##D239C91.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2871CD
Deuteranopia (green-blind)
#6885C5
Tritanopia (blue-blind)
#DA4D7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d239c9;
/* rgb */ color: rgb(210, 57, 201);
/* oklch */ color: oklch(62.5% 0.241 330.6);
Tailwind
colors: {
  custom: {
    50: '#e47eda',
    500: '#d239c9',
    950: '#000000',
  },
}
SCSS
$custom: #d239c9;
$custom-light: #e47eda;
$custom-dark: #000000;
JSON
{
  "hex": "#d239c9",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 303.529,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62473,
    "c": 0.24058,
    "h": 330.6
  },
  "luminance": 0.20845
}

Semantic roles & 50–950 ramp

primary
#D239C9
secondary
#92D596
accent
#E64B42
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D239C9

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

Preview Lab → · Contrast checker → · Palette generator →

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