#D02FEE#D02FEE

#D02FEE is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.7% C 0.276 H 320.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D02FEE
RGBrgb(208, 47, 238)
HSLhsl(291, 85%, 56%)
HSVhsv(291, 80%, 93%)
CMYKcmyk(12.6%, 80.3%, 0%, 6.7%)
CIE-LABlab(53.62, 82.14, -62.52)
CIE-LCHlch(53.62, 103.23, 322.72°)
OKLaboklab(63.69% 0.2131 -0.1756)
OKLCHoklch(63.69% 0.276 320.5)
XYZxyz(42.4597, 21.6183, 82.8086)
Luminance0.2162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02FEE #4DEE2F
analogous
#702FEE #D02FEE #EE2FAC
triadic
#D02FEE #EED02F #2FEED0
tetradic
#D02FEE #EE702F #4DEE2F #2FACEE
square
#D02FEE #EE702F #4DEE2F #2FACEE
split-complementary
#D02FEE #ACEE2F #2FEE70
monochromatic
#810C96 #B111CF #D02FEE #DD68F3 #EAA0F7

Accessibility & contrast

On white

3.94
#D02FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D02FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02FEE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02FEE#FFFFFF#000000##000000
##D02FEE1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#4685EA
Tritanopia (blue-blind)
#D15A91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d02fee;
/* rgb */ color: rgb(208, 47, 238);
/* oklch */ color: oklch(63.7% 0.276 320.5);
Tailwind
colors: {
  custom: {
    50: '#e37cf4',
    500: '#d02fee',
    950: '#000000',
  },
}
SCSS
$custom: #d02fee;
$custom-light: #e37cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d02fee",
  "rgb": {
    "r": 208,
    "g": 47,
    "b": 238
  },
  "hsl": {
    "h": 290.576,
    "s": 84.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63688,
    "c": 0.2761,
    "h": 320.5
  },
  "luminance": 0.21616
}

Semantic roles & 50–950 ramp

primary
#D02FEE
secondary
#A1E495
accent
#FB2D4D
background
#FEF8FF
surface
#FDEFFE
border
#D5CAD6
text
#160B17
muted
#847C85

Preview Lab

Preview with #D02FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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