#D02FCE#D02FCE

#D02FCE is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.7% C 0.253 H 328.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D02FCE
RGBrgb(208, 47, 206)
HSLhsl(301, 63%, 50%)
HSVhsv(301, 77%, 82%)
CMYKcmyk(0%, 77.4%, 1%, 18.4%)
CIE-LABlab(51.73, 76.96, -47.39)
CIE-LCHlch(51.73, 90.38, 328.38°)
OKLaboklab(61.74% 0.2158 -0.1313)
OKLCHoklch(61.74% 0.253 328.7)
XYZxyz(38.1691, 19.9021, 60.2117)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02FCE #2FD031
analogous
#812FD0 #D02FCE #D02F7E
triadic
#D02FCE #CED02F #2FCED0
tetradic
#D02FCE #D0812F #2FD031 #2F7ED0
square
#D02FCE #D0812F #2FD031 #2F7ED0
split-complementary
#D02FCE #7ED02F #2FD081
monochromatic
#6C186B #9E249D #D02FCE #DB61DA #E793E6

Accessibility & contrast

On white

4.22
#D02FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D02FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02FCE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02FCE#FFFFFF#000000##000000
##D02FCE1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED2
Deuteranopia (green-blind)
#5F82CA
Tritanopia (blue-blind)
#D74A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d02fce;
/* rgb */ color: rgb(208, 47, 206);
/* oklch */ color: oklch(61.7% 0.253 328.7);
Tailwind
colors: {
  custom: {
    50: '#e37bdd',
    500: '#d02fce',
    950: '#000000',
  },
}
SCSS
$custom: #d02fce;
$custom-light: #e37bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d02fce",
  "rgb": {
    "r": 208,
    "g": 47,
    "b": 206
  },
  "hsl": {
    "h": 300.745,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.61743,
    "c": 0.25261,
    "h": 328.7
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#D02FCE
secondary
#89D18A
accent
#E64442
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D02FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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