#D02BC3#D02BC3

#D02BC3 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.9% C 0.248 H 331.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D02BC3
RGBrgb(208, 43, 195)
HSLhsl(305, 66%, 49%)
HSVhsv(305, 79%, 82%)
CMYKcmyk(0%, 79.3%, 6.3%, 18.4%)
CIE-LABlab(50.78, 76.33, -42.55)
CIE-LCHlch(50.78, 87.39, 330.86°)
OKLaboklab(60.88% 0.2188 -0.1173)
OKLCHoklch(60.88% 0.248 331.8)
XYZxyz(36.7267, 19.0809, 53.3679)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02BC3 #2BD038
analogous
#8B2BD0 #D02BC3 #D02B71
triadic
#D02BC3 #C3D02B #2BC3D0
tetradic
#D02BC3 #D08B2B #2BD038 #2B71D0
square
#D02BC3 #D08B2B #2BD038 #2B71D0
split-complementary
#D02BC3 #71D02B #2BD08B
monochromatic
#6B1664 #9D2193 #D02BC3 #DD5BD3 #E88EE1

Accessibility & contrast

On white

4.36
#D02BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#D02BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02BC3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02BC3#FFFFFF#000000##000000
##D02BC31.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#196AC7
Deuteranopia (green-blind)
#6481BF
Tritanopia (blue-blind)
#D94177
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d02bc3;
/* rgb */ color: rgb(208, 43, 195);
/* oklch */ color: oklch(60.9% 0.248 331.8);
Tailwind
colors: {
  custom: {
    50: '#e379d6',
    500: '#d02bc3',
    950: '#000000',
  },
}
SCSS
$custom: #d02bc3;
$custom-light: #e379d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d02bc3",
  "rgb": {
    "r": 208,
    "g": 43,
    "b": 195
  },
  "hsl": {
    "h": 304.727,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.24826,
    "h": 331.8
  },
  "luminance": 0.19078
}

Semantic roles & 50–950 ramp

primary
#D02BC3
secondary
#85D28B
accent
#E94C3F
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #D02BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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