#D239C2#D239C2

#D239C2 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.1% C 0.236 H 332.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D239C2
RGBrgb(210, 57, 194)
HSLhsl(306, 63%, 52%)
HSVhsv(306, 73%, 82%)
CMYKcmyk(0%, 72.9%, 7.6%, 17.6%)
CIE-LABlab(52.43, 72.68, -39.35)
CIE-LCHlch(52.43, 82.65, 331.57°)
OKLaboklab(62.1% 0.2093 -0.1081)
OKLCHoklch(62.1% 0.236 332.7)
XYZxyz(37.7792, 20.5261, 53.0007)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239C2 #39D249
analogous
#9639D2 #D239C2 #D23975
triadic
#D239C2 #C2D239 #39C2D2
tetradic
#D239C2 #D29639 #39D249 #3975D2
square
#D239C2 #D29639 #39D249 #3975D2
split-complementary
#D239C2 #75D239 #39D296
monochromatic
#761B6C #A8269A #D239C2 #DD6BD1 #E99DE1

Accessibility & contrast

On white

4.11
#D239C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D239C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239C2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239C2#FFFFFF#000000##000000
##D239C21.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#316FC6
Deuteranopia (green-blind)
#6C85BE
Tritanopia (blue-blind)
#DB497A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d239c2;
/* rgb */ color: rgb(210, 57, 194);
/* oklch */ color: oklch(62.1% 0.236 332.7);
Tailwind
colors: {
  custom: {
    50: '#e47ed5',
    500: '#d239c2',
    950: '#000000',
  },
}
SCSS
$custom: #d239c2;
$custom-light: #e47ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#d239c2",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 306.275,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62103,
    "c": 0.23559,
    "h": 332.7
  },
  "luminance": 0.20523
}

Semantic roles & 50–950 ramp

primary
#D239C2
secondary
#92D599
accent
#E65342
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D239C2

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

Preview Lab → · Contrast checker → · Palette generator →

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