#D239C4#D239C4

#D239C4 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.2% C 0.237 H 332.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D239C4
RGBrgb(210, 57, 196)
HSLhsl(305, 63%, 52%)
HSVhsv(305, 73%, 82%)
CMYKcmyk(0%, 72.9%, 6.7%, 17.6%)
CIE-LABlab(52.53, 72.98, -40.35)
CIE-LCHlch(52.53, 83.39, 331.07°)
OKLaboklab(62.21% 0.2094 -0.1109)
OKLCHoklch(62.21% 0.237 332.1)
XYZxyz(38.0054, 20.6165, 54.1916)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239C4 #39D247
analogous
#9339D2 #D239C4 #D23978
triadic
#D239C4 #C4D239 #39C4D2
tetradic
#D239C4 #D29339 #39D247 #3978D2
square
#D239C4 #D29339 #39D247 #3978D2
split-complementary
#D239C4 #78D239 #39D293
monochromatic
#761B6D #A8269C #D239C4 #DD6BD3 #E99DE2

Accessibility & contrast

On white

4.10
#D239C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D239C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239C4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239C4#FFFFFF#000000##000000
##D239C41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F70C8
Deuteranopia (green-blind)
#6B85C0
Tritanopia (blue-blind)
#DB4A7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d239c4;
/* rgb */ color: rgb(210, 57, 196);
/* oklch */ color: oklch(62.2% 0.237 332.1);
Tailwind
colors: {
  custom: {
    50: '#e47ed6',
    500: '#d239c4',
    950: '#000000',
  },
}
SCSS
$custom: #d239c4;
$custom-light: #e47ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#d239c4",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 305.49,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62207,
    "c": 0.237,
    "h": 332.1
  },
  "luminance": 0.20613
}

Semantic roles & 50–950 ramp

primary
#D239C4
secondary
#92D598
accent
#E65142
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D239C4

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

Preview Lab → · Contrast checker → · Palette generator →

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