#D231EA#D231EA

#D231EA is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.8% C 0.272 H 322.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#D231EA
RGBrgb(210, 49, 234)
HSLhsl(292, 81%, 55%)
HSVhsv(292, 79%, 92%)
CMYKcmyk(10.3%, 79.1%, 0%, 8.2%)
CIE-LABlab(53.86, 81.31, -59.88)
CIE-LCHlch(53.86, 100.98, 323.63°)
OKLaboklab(63.84% 0.2144 -0.1677)
OKLCHoklch(63.84% 0.272 322)
XYZxyz(42.5264, 21.8413, 79.8018)
Luminance0.2184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D231EA #49EA31
analogous
#7531EA #D231EA #EA31A6
triadic
#D231EA #EAD231 #31EAD2
tetradic
#D231EA #EA7531 #49EA31 #31A6EA
square
#D231EA #EA7531 #49EA31 #31A6EA
split-complementary
#D231EA #A6EA31 #31EA75
monochromatic
#810F92 #B215C9 #D231EA #DE69F0 #EAA0F5

Accessibility & contrast

On white

3.91
#D231EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D231EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D231EA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D231EA#FFFFFF#000000##000000
##D231EA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#4E86E6
Tritanopia (blue-blind)
#D4598F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d231ea;
/* rgb */ color: rgb(210, 49, 234);
/* oklch */ color: oklch(63.8% 0.272 322.0);
Tailwind
colors: {
  custom: {
    50: '#e57df1',
    500: '#d231ea',
    950: '#000000',
  },
}
SCSS
$custom: #d231ea;
$custom-light: #e57df1;
$custom-dark: #000000;
JSON
{
  "hex": "#d231ea",
  "rgb": {
    "r": 210,
    "g": 49,
    "b": 234
  },
  "hsl": {
    "h": 292.216,
    "s": 81.498,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63837,
    "c": 0.27225,
    "h": 322
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

primary
#D231EA
secondary
#9FE295
accent
#F8304A
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B17
muted
#847C85

Preview Lab

Preview with #D231EA

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

Preview Lab → · Contrast checker → · Palette generator →

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