#D239C5#D239C5

#D239C5 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.3% C 0.238 H 331.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#D239C5
RGBrgb(210, 57, 197)
HSLhsl(305, 63%, 52%)
HSVhsv(305, 73%, 82%)
CMYKcmyk(0%, 72.9%, 6.2%, 17.6%)
CIE-LABlab(52.58, 73.13, -40.84)
CIE-LCHlch(52.58, 83.77, 330.82°)
OKLaboklab(62.26% 0.2095 -0.1124)
OKLCHoklch(62.26% 0.238 331.8)
XYZxyz(38.1196, 20.6622, 54.7930)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D239C5 #39D246
analogous
#9339D2 #D239C5 #D23979
triadic
#D239C5 #C5D239 #39C5D2
tetradic
#D239C5 #D29339 #39D246 #3979D2
square
#D239C5 #D29339 #39D246 #3979D2
split-complementary
#D239C5 #79D239 #39D293
monochromatic
#761B6E #A8269D #D239C5 #DD6BD4 #E99DE2

Accessibility & contrast

On white

4.09
#D239C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#D239C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D239C5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D239C5#FFFFFF#000000##000000
##D239C51.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E70C9
Deuteranopia (green-blind)
#6A85C1
Tritanopia (blue-blind)
#DB4B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d239c5;
/* rgb */ color: rgb(210, 57, 197);
/* oklch */ color: oklch(62.3% 0.238 331.8);
Tailwind
colors: {
  custom: {
    50: '#e47ed7',
    500: '#d239c5',
    950: '#000000',
  },
}
SCSS
$custom: #d239c5;
$custom-light: #e47ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#d239c5",
  "rgb": {
    "r": 210,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 305.098,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6226,
    "c": 0.23771,
    "h": 331.8
  },
  "luminance": 0.20659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D239C5

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

Preview Lab → · Contrast checker → · Palette generator →

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