#DC02FE#DC02FE

#DC02FE is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 65.0% C 0.310 H 320.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#DC02FE
RGBrgb(220, 2, 254)
HSLhsl(292, 99%, 50%)
HSVhsv(292, 99%, 100%)
CMYKcmyk(13.4%, 99.2%, 0%, 0.4%)
CIE-LABlab(54.47, 92.83, -70.00)
CIE-LCHlch(54.47, 116.27, 322.98°)
OKLaboklab(64.98% 0.2397 -0.197)
OKLCHoklch(64.98% 0.31 320.6)
XYZxyz(47.4241, 22.4176, 95.5758)
Luminance0.2241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC02FE #24FE02
analogous
#5E02FE #DC02FE #FE02A2
triadic
#DC02FE #FEDC02 #02FEDC
tetradic
#DC02FE #FE5E02 #24FE02 #02A2FE
square
#DC02FE #FE5E02 #24FE02 #02A2FE
split-complementary
#DC02FE #A2FE02 #02FE5E
monochromatic
#730185 #A801C2 #DC02FE #E43FFE #ED7CFE

Accessibility & contrast

On white

3.83
#DC02FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#DC02FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC02FE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC02FE#FFFFFF#000000##000000
##DC02FE1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#3688FA
Tritanopia (blue-blind)
#DD5596
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc02fe;
/* rgb */ color: rgb(220, 2, 254);
/* oklch */ color: oklch(65.0% 0.310 320.6);
Tailwind
colors: {
  custom: {
    50: '#ed76ff',
    500: '#dc02fe',
    950: '#000000',
  },
}
SCSS
$custom: #dc02fe;
$custom-light: #ed76ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc02fe",
  "rgb": {
    "r": 220,
    "g": 2,
    "b": 254
  },
  "hsl": {
    "h": 291.905,
    "s": 99.213,
    "l": 50.196
  },
  "oklch": {
    "l": 0.64976,
    "c": 0.31026,
    "h": 320.6
  },
  "luminance": 0.22415
}

Semantic roles & 50–950 ramp

primary
#DC02FE
secondary
#85E676
accent
#FF2946
background
#FFF8FF
surface
#FFEFFF
border
#D7CAD7
text
#170B18
muted
#857C86

Preview Lab

Preview with #DC02FE

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

Preview Lab → · Contrast checker → · Palette generator →

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