#D02ED0#D02ED0

#D02ED0 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.8% C 0.255 H 328.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D02ED0
RGBrgb(208, 46, 208)
HSLhsl(300, 64%, 50%)
HSVhsv(300, 78%, 82%)
CMYKcmyk(0%, 77.9%, 0%, 18.4%)
CIE-LABlab(51.75, 77.53, -48.51)
CIE-LCHlch(51.75, 91.45, 327.97°)
OKLaboklab(61.79% 0.2165 -0.1346)
OKLCHoklch(61.79% 0.255 328.1)
XYZxyz(38.3741, 19.9208, 61.4863)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02ED0 #2ED02E
analogous
#7F2ED0 #D02ED0 #D02E7F
triadic
#D02ED0 #D0D02E #2ED0D0
tetradic
#D02ED0 #D07F2E #2ED02E #2E7FD0
square
#D02ED0 #D07F2E #2ED02E #2E7FD0
split-complementary
#D02ED0 #7FD02E #2ED07F
monochromatic
#6C186C #9E239E #D02ED0 #DC5FDC #E792E7

Accessibility & contrast

On white

4.21
#D02ED0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D02ED0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02ED0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02ED0#FFFFFF#000000##000000
##D02ED01.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#5E82CC
Tritanopia (blue-blind)
#D74A7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d02ed0;
/* rgb */ color: rgb(208, 46, 208);
/* oklch */ color: oklch(61.8% 0.255 328.1);
Tailwind
colors: {
  custom: {
    50: '#e37adf',
    500: '#d02ed0',
    950: '#000000',
  },
}
SCSS
$custom: #d02ed0;
$custom-light: #e37adf;
$custom-dark: #000000;
JSON
{
  "hex": "#d02ed0",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 208
  },
  "hsl": {
    "h": 300,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.25488,
    "h": 328.1
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#D02ED0
secondary
#88D288
accent
#E74141
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D02ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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