#D02EBB#D02EBB

#D02EBB is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.6% C 0.240 H 334.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D02EBB
RGBrgb(208, 46, 187)
HSLhsl(308, 64%, 50%)
HSVhsv(308, 78%, 82%)
CMYKcmyk(0%, 77.9%, 10.1%, 18.4%)
CIE-LABlab(50.63, 74.41, -38.14)
CIE-LCHlch(50.63, 83.61, 332.86°)
OKLaboklab(60.64% 0.2164 -0.1045)
OKLCHoklch(60.64% 0.24 334.2)
XYZxyz(35.9594, 18.9550, 48.7689)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02EBB #2ED043
analogous
#942ED0 #D02EBB #D02E6A
triadic
#D02EBB #BBD02E #2EBBD0
tetradic
#D02EBB #D0942E #2ED043 #2E6AD0
square
#D02EBB #D0942E #2ED043 #2E6AD0
split-complementary
#D02EBB #6AD02E #2ED094
monochromatic
#6C1861 #9E238E #D02EBB #DC5FCC #E792DC

Accessibility & contrast

On white

4.38
#D02EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#D02EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02EBB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02EBB#FFFFFF#000000##000000
##D02EBB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6ABF
Deuteranopia (green-blind)
#6981B7
Tritanopia (blue-blind)
#DA3F73
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d02ebb;
/* rgb */ color: rgb(208, 46, 187);
/* oklch */ color: oklch(60.6% 0.240 334.2);
Tailwind
colors: {
  custom: {
    50: '#e379d0',
    500: '#d02ebb',
    950: '#000000',
  },
}
SCSS
$custom: #d02ebb;
$custom-light: #e379d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d02ebb",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 307.778,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.6064,
    "c": 0.24031,
    "h": 334.2
  },
  "luminance": 0.18952
}

Semantic roles & 50–950 ramp

primary
#D02EBB
secondary
#88D292
accent
#E75641
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D02EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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