#D239E2#D239E2

#D239E2 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.9% C 0.259 H 323.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D239E2
RGBrgb(210, 57, 226)
HSLhsl(294, 74%, 55%)
HSVhsv(294, 75%, 89%)
CMYKcmyk(7.1%, 74.8%, 0%, 11.4%)
CIE-LABlab(54.16, 77.74, -54.89)
CIE-LCHlch(54.16, 95.16, 324.78°)
OKLaboklab(63.9% 0.2091 -0.1532)
OKLCHoklch(63.9% 0.259 323.8)
XYZxyz(41.7677, 22.1215, 74.0067)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239E2 #49E239
analogous
#7E39E2 #D239E2 #E2399D
triadic
#D239E2 #E2D239 #39E2D2
tetradic
#D239E2 #E27E39 #49E239 #399DE2
square
#D239E2 #E27E39 #49E239 #399DE2
split-complementary
#D239E2 #9DE239 #39E27E
monochromatic
#81158C #B21CC1 #D239E2 #DE6EEA #EAA4F2

Accessibility & contrast

On white

3.87
#D239E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D239E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239E2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239E2#FFFFFF#000000##000000
##D239E21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#5887DE
Tritanopia (blue-blind)
#D6598C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d239e2;
/* rgb */ color: rgb(210, 57, 226);
/* oklch */ color: oklch(63.9% 0.259 323.8);
Tailwind
colors: {
  custom: {
    50: '#e47fec',
    500: '#d239e2',
    950: '#000000',
  },
}
SCSS
$custom: #d239e2;
$custom-light: #e47fec;
$custom-dark: #000000;
JSON
{
  "hex": "#d239e2",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 226
  },
  "hsl": {
    "h": 294.32,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63895,
    "c": 0.2592,
    "h": 323.8
  },
  "luminance": 0.22119
}

Semantic roles & 50–950 ramp

primary
#D239E2
secondary
#9FDF98
accent
#F13748
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #D239E2

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

Preview Lab → · Contrast checker → · Palette generator →

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