#D02FCF#D02FCF

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

Color values

HEX#D02FCF
RGBrgb(208, 47, 207)
HSLhsl(300, 63%, 50%)
HSVhsv(300, 77%, 82%)
CMYKcmyk(0%, 77.4%, 0.5%, 18.4%)
CIE-LABlab(51.78, 77.12, -47.88)
CIE-LCHlch(51.78, 90.77, 328.17°)
OKLaboklab(61.8% 0.2158 -0.1327)
OKLCHoklch(61.8% 0.253 328.4)
XYZxyz(38.2910, 19.9508, 60.8535)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02FCF #2FD030
analogous
#812FD0 #D02FCF #D02F7E
triadic
#D02FCF #CFD02F #2FCFD0
tetradic
#D02FCF #D0812F #2FD030 #2F7ED0
square
#D02FCF #D0812F #2FD030 #2F7ED0
split-complementary
#D02FCF #7ED02F #2FD081
monochromatic
#6C186C #9E249D #D02FCF #DB61DB #E793E6

Accessibility & contrast

On white

4.21
#D02FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D02FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02FCF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02FCF#FFFFFF#000000##000000
##D02FCF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#5F83CB
Tritanopia (blue-blind)
#D74A7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d02fcf;
/* rgb */ color: rgb(208, 47, 207);
/* oklch */ color: oklch(61.8% 0.253 328.4);
Tailwind
colors: {
  custom: {
    50: '#e37bde',
    500: '#d02fcf',
    950: '#000000',
  },
}
SCSS
$custom: #d02fcf;
$custom-light: #e37bde;
$custom-dark: #000000;
JSON
{
  "hex": "#d02fcf",
  "rgb": {
    "r": 208,
    "g": 47,
    "b": 207
  },
  "hsl": {
    "h": 300.373,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.618,
    "c": 0.25333,
    "h": 328.4
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D02FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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