#D02BB8#D02BB8

#D02BB8 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.3% C 0.241 H 335.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D02BB8
RGBrgb(208, 43, 184)
HSLhsl(309, 66%, 49%)
HSVhsv(309, 79%, 82%)
CMYKcmyk(0%, 79.3%, 11.5%, 18.4%)
CIE-LABlab(50.22, 74.76, -37.04)
CIE-LCHlch(50.22, 83.43, 333.64°)
OKLaboklab(60.29% 0.2185 -0.1014)
OKLCHoklch(60.29% 0.241 335.1)
XYZxyz(35.5285, 18.6016, 47.0574)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02BB8 #2BD043
analogous
#962BD0 #D02BB8 #D02B66
triadic
#D02BB8 #B8D02B #2BB8D0
tetradic
#D02BB8 #D0962B #2BD043 #2B66D0
square
#D02BB8 #D0962B #2BD043 #2B66D0
split-complementary
#D02BB8 #66D02B #2BD096
monochromatic
#6B165E #9D218B #D02BB8 #DD5BCA #E88EDB

Accessibility & contrast

On white

4.45
#D02BB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D02BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02BB8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02BB8#FFFFFF#000000##000000
##D02BB81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A68BC
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#DA3B71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d02bb8;
/* rgb */ color: rgb(208, 43, 184);
/* oklch */ color: oklch(60.3% 0.241 335.1);
Tailwind
colors: {
  custom: {
    50: '#e378ce',
    500: '#d02bb8',
    950: '#000000',
  },
}
SCSS
$custom: #d02bb8;
$custom-light: #e378ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d02bb8",
  "rgb": {
    "r": 208,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 308.727,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.24089,
    "h": 335.1
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#D02BB8
secondary
#85D290
accent
#E9583F
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #D02BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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