#D02EB8#D02EB8

#D02EB8 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.5% C 0.238 H 335.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D02EB8
RGBrgb(208, 46, 184)
HSLhsl(309, 64%, 50%)
HSVhsv(309, 78%, 82%)
CMYKcmyk(0%, 77.9%, 11.5%, 18.4%)
CIE-LABlab(50.49, 73.99, -36.62)
CIE-LCHlch(50.49, 82.55, 333.66°)
OKLaboklab(60.49% 0.2162 -0.1002)
OKLCHoklch(60.49% 0.238 335.1)
XYZxyz(35.6416, 18.8278, 47.0951)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02EB8 #2ED046
analogous
#972ED0 #D02EB8 #D02E67
triadic
#D02EB8 #B8D02E #2EB8D0
tetradic
#D02EB8 #D0972E #2ED046 #2E67D0
square
#D02EB8 #D0972E #2ED046 #2E67D0
split-complementary
#D02EB8 #67D02E #2ED097
monochromatic
#6C185F #9E238C #D02EB8 #DC5FC9 #E792DA

Accessibility & contrast

On white

4.41
#D02EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#D02EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02EB8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02EB8#FFFFFF#000000##000000
##D02EB81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D69BC
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#DA3D72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d02eb8;
/* rgb */ color: rgb(208, 46, 184);
/* oklch */ color: oklch(60.5% 0.238 335.1);
Tailwind
colors: {
  custom: {
    50: '#e379ce',
    500: '#d02eb8',
    950: '#000000',
  },
}
SCSS
$custom: #d02eb8;
$custom-light: #e379ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d02eb8",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 308.889,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60485,
    "c": 0.23831,
    "h": 335.1
  },
  "luminance": 0.18825
}

Semantic roles & 50–950 ramp

primary
#D02EB8
secondary
#88D293
accent
#E75A41
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #D02EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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