#D02EFF#D02EFF

#D02EFF is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.8% C 0.290 H 316.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D02EFF
RGBrgb(208, 46, 255)
HSLhsl(287, 100%, 59%)
HSVhsv(287, 82%, 100%)
CMYKcmyk(18.4%, 82%, 0%, 0%)
CIE-LABlab(54.64, 85.31, -70.36)
CIE-LCHlch(54.64, 110.58, 320.48°)
OKLaboklab(64.76% 0.2109 -0.1985)
OKLCHoklch(64.76% 0.29 316.7)
XYZxyz(45.0367, 22.5859, 96.5756)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02EFF #5DFF2E
analogous
#682EFF #D02EFF #FF2EC6
triadic
#D02EFF #FFD02E #2EFFD0
tetradic
#D02EFF #FF682E #5DFF2E #2EC6FF
square
#D02EFF #FF682E #5DFF2E #2EC6FF
split-complementary
#D02EFF #C6FF2E #2EFF68
monochromatic
#8A00B3 #BA00F0 #D02EFF #DE6BFF #ECA8FF

Accessibility & contrast

On white

3.81
#D02EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#D02EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02EFF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02EFF#FFFFFF#000000##000000
##D02EFF1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#2E87FB
Tritanopia (blue-blind)
#CD639B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d02eff;
/* rgb */ color: rgb(208, 46, 255);
/* oklch */ color: oklch(64.8% 0.290 316.7);
Tailwind
colors: {
  custom: {
    50: '#e47cff',
    500: '#d02eff',
    950: '#000000',
  },
}
SCSS
$custom: #d02eff;
$custom-light: #e47cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d02eff",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 286.507,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64756,
    "c": 0.28968,
    "h": 316.7
  },
  "luminance": 0.22584
}

Semantic roles & 50–950 ramp

primary
#D02EFF
secondary
#AEED9B
accent
#FF2959
background
#FEF8FF
surface
#FDEFFF
border
#D5CAD7
text
#160B18
muted
#847C86

Preview Lab

Preview with #D02EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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