#D02EBD#D02EBD

#D02EBD is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.7% C 0.242 H 333.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D02EBD
RGBrgb(208, 46, 189)
HSLhsl(307, 64%, 50%)
HSVhsv(307, 78%, 82%)
CMYKcmyk(0%, 77.9%, 9.1%, 18.4%)
CIE-LABlab(50.74, 74.70, -39.14)
CIE-LCHlch(50.74, 84.33, 332.35°)
OKLaboklab(60.75% 0.2165 -0.1074)
OKLCHoklch(60.75% 0.242 333.6)
XYZxyz(36.1750, 19.0412, 49.9043)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02EBD #2ED041
analogous
#922ED0 #D02EBD #D02E6C
triadic
#D02EBD #BDD02E #2EBDD0
tetradic
#D02EBD #D0922E #2ED041 #2E6CD0
square
#D02EBD #D0922E #2ED041 #2E6CD0
split-complementary
#D02EBD #6CD02E #2ED092
monochromatic
#6C1862 #9E238F #D02EBD #DC5FCD #E792DD

Accessibility & contrast

On white

4.37
#D02EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D02EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02EBD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02EBD#FFFFFF#000000##000000
##D02EBD1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#276AC1
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#DA4075
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d02ebd;
/* rgb */ color: rgb(208, 46, 189);
/* oklch */ color: oklch(60.7% 0.242 333.6);
Tailwind
colors: {
  custom: {
    50: '#e37ad1',
    500: '#d02ebd',
    950: '#000000',
  },
}
SCSS
$custom: #d02ebd;
$custom-light: #e37ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#d02ebd",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 307.037,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.24167,
    "h": 333.6
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#D02EBD
secondary
#88D291
accent
#E75441
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D02EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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