#D02FD0#D02FD0

#D02FD0 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.9% C 0.254 H 328.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D02FD0
RGBrgb(208, 47, 208)
HSLhsl(300, 63%, 50%)
HSVhsv(300, 77%, 82%)
CMYKcmyk(0%, 77.4%, 0%, 18.4%)
CIE-LABlab(51.84, 77.27, -48.36)
CIE-LCHlch(51.84, 91.16, 327.96°)
OKLaboklab(61.86% 0.2157 -0.1342)
OKLCHoklch(61.86% 0.254 328.1)
XYZxyz(38.4137, 19.9999, 61.4994)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02FD0 #2FD02F
analogous
#7F2FD0 #D02FD0 #D02F80
triadic
#D02FD0 #D0D02F #2FD0D0
tetradic
#D02FD0 #D0802F #2FD02F #2F7FD0
square
#D02FD0 #D0802F #2FD02F #2F7FD0
split-complementary
#D02FD0 #80D02F #2FD080
monochromatic
#6C186C #9E249E #D02FD0 #DB61DB #E793E7

Accessibility & contrast

On white

4.20
#D02FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D02FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02FD0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02FD0#FFFFFF#000000##000000
##D02FD01.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#5E83CC
Tritanopia (blue-blind)
#D74B80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d02fd0;
/* rgb */ color: rgb(208, 47, 208);
/* oklch */ color: oklch(61.9% 0.254 328.1);
Tailwind
colors: {
  custom: {
    50: '#e37bdf',
    500: '#d02fd0',
    950: '#000000',
  },
}
SCSS
$custom: #d02fd0;
$custom-light: #e37bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#d02fd0",
  "rgb": {
    "r": 208,
    "g": 47,
    "b": 208
  },
  "hsl": {
    "h": 300,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.61857,
    "c": 0.25404,
    "h": 328.1
  },
  "luminance": 0.19997
}

Semantic roles & 50–950 ramp

primary
#D02FD0
secondary
#89D189
accent
#E64242
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D02FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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