#D02FCB#D02FCB

#D02FCB is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.6% C 0.250 H 329.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D02FCB
RGBrgb(208, 47, 203)
HSLhsl(302, 63%, 50%)
HSVhsv(302, 77%, 82%)
CMYKcmyk(0%, 77.4%, 2.4%, 18.4%)
CIE-LABlab(51.56, 76.51, -45.93)
CIE-LCHlch(51.56, 89.23, 329.02°)
OKLaboklab(61.57% 0.2159 -0.1271)
OKLCHoklch(61.57% 0.25 329.5)
XYZxyz(37.8082, 19.7577, 58.3106)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02FCB #2FD034
analogous
#842FD0 #D02FCB #D02F7B
triadic
#D02FCB #CBD02F #2FCBD0
tetradic
#D02FCB #D0842F #2FD034 #2F7BD0
square
#D02FCB #D0842F #2FD034 #2F7BD0
split-complementary
#D02FCB #7BD02F #2FD084
monochromatic
#6C186A #9E249A #D02FCB #DB61D7 #E793E4

Accessibility & contrast

On white

4.24
#D02FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D02FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02FCB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02FCB#FFFFFF#000000##000000
##D02FCB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C6DCF
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#D7487D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d02fcb;
/* rgb */ color: rgb(208, 47, 203);
/* oklch */ color: oklch(61.6% 0.250 329.5);
Tailwind
colors: {
  custom: {
    50: '#e37adb',
    500: '#d02fcb',
    950: '#000000',
  },
}
SCSS
$custom: #d02fcb;
$custom-light: #e37adb;
$custom-dark: #000000;
JSON
{
  "hex": "#d02fcb",
  "rgb": {
    "r": 208,
    "g": 47,
    "b": 203
  },
  "hsl": {
    "h": 301.863,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.61573,
    "c": 0.25049,
    "h": 329.5
  },
  "luminance": 0.19755
}

Semantic roles & 50–950 ramp

primary
#D02FCB
secondary
#89D18C
accent
#E64742
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D02FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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