#D02BC2#D02BC2

#D02BC2 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.8% C 0.248 H 332.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D02BC2
RGBrgb(208, 43, 194)
HSLhsl(305, 66%, 49%)
HSVhsv(305, 79%, 82%)
CMYKcmyk(0%, 79.3%, 6.7%, 18.4%)
CIE-LABlab(50.73, 76.18, -42.05)
CIE-LCHlch(50.73, 87.02, 331.10°)
OKLaboklab(60.82% 0.2188 -0.1158)
OKLCHoklch(60.82% 0.248 332.1)
XYZxyz(36.6140, 19.0358, 52.7744)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02BC2 #2BD039
analogous
#8C2BD0 #D02BC2 #D02B70
triadic
#D02BC2 #C2D02B #2BC2D0
tetradic
#D02BC2 #D08C2B #2BD039 #2B70D0
square
#D02BC2 #D08C2B #2BD039 #2B70D0
split-complementary
#D02BC2 #70D02B #2BD08C
monochromatic
#6B1663 #9D2193 #D02BC2 #DD5BD2 #E88EE0

Accessibility & contrast

On white

4.37
#D02BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D02BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02BC2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02BC2#FFFFFF#000000##000000
##D02BC21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC6
Deuteranopia (green-blind)
#6581BE
Tritanopia (blue-blind)
#D94177
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d02bc2;
/* rgb */ color: rgb(208, 43, 194);
/* oklch */ color: oklch(60.8% 0.248 332.1);
Tailwind
colors: {
  custom: {
    50: '#e379d5',
    500: '#d02bc2',
    950: '#000000',
  },
}
SCSS
$custom: #d02bc2;
$custom-light: #e379d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d02bc2",
  "rgb": {
    "r": 208,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 305.091,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60824,
    "c": 0.24759,
    "h": 332.1
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D02BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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