#D02ED7#D02ED7

#D02ED7 is a light, highly saturated purple. Relative luminance 0.203; OKLCH L 62.2% C 0.260 H 326.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D02ED7
RGBrgb(208, 46, 215)
HSLhsl(298, 68%, 51%)
HSVhsv(298, 79%, 84%)
CMYKcmyk(3.3%, 78.6%, 0%, 15.7%)
CIE-LABlab(52.14, 78.63, -51.88)
CIE-LCHlch(52.14, 94.20, 326.58°)
OKLaboklab(62.2% 0.2161 -0.1444)
OKLCHoklch(62.2% 0.26 326.3)
XYZxyz(39.2544, 20.2730, 66.1223)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02ED7 #35D72E
analogous
#7B2ED7 #D02ED7 #D72E89
triadic
#D02ED7 #D7D02E #2ED7D0
tetradic
#D02ED7 #D77B2E #35D72E #2E89D7
square
#D02ED7 #D77B2E #35D72E #2E89D7
split-complementary
#D02ED7 #89D72E #2ED77B
monochromatic
#701674 #A220A8 #D02ED7 #DC61E1 #E795EB

Accessibility & contrast

On white

4.16
#D02ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D02ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02ED7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02ED7#FFFFFF#000000##000000
##D02ED71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#5983D3
Tritanopia (blue-blind)
#D54E83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d02ed7;
/* rgb */ color: rgb(208, 46, 215);
/* oklch */ color: oklch(62.2% 0.260 326.3);
Tailwind
colors: {
  custom: {
    50: '#e37be4',
    500: '#d02ed7',
    950: '#000000',
  },
}
SCSS
$custom: #d02ed7;
$custom-light: #e37be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d02ed7",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 297.515,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62203,
    "c": 0.25991,
    "h": 326.3
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#D02ED7
secondary
#8ED68B
accent
#EB3D44
background
#FEF8FE
surface
#FDEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #D02ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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