#D04BD2#D04BD2

#D04BD2 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.3% C 0.226 H 327.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#D04BD2
RGBrgb(208, 75, 210)
HSLhsl(299, 60%, 56%)
HSVhsv(299, 64%, 82%)
CMYKcmyk(1%, 64.3%, 0%, 17.6%)
CIE-LABlab(55.17, 68.42, -44.21)
CIE-LCHlch(55.17, 81.46, 327.13°)
OKLaboklab(64.28% 0.1898 -0.1223)
OKLCHoklch(64.28% 0.226 327.2)
XYZxyz(40.1607, 23.0978, 63.3033)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04BD2 #4DD24B
analogous
#8C4BD2 #D04BD2 #D24B90
triadic
#D04BD2 #D2D04B #4BD2D0
tetradic
#D04BD2 #D28C4B #4DD24B #4B90D2
square
#D04BD2 #D28C4B #4DD24B #4B90D2
split-complementary
#D04BD2 #90D24B #4BD28C
monochromatic
#812182 #B12DB3 #D04BD2 #DD7CDE #EAADEA

Accessibility & contrast

On white

3.74
#D04BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#D04BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04BD2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04BD2#FFFFFF#000000##000000
##D04BD21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3779D6
Deuteranopia (green-blind)
#6A8ACE
Tritanopia (blue-blind)
#D65E88
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d04bd2;
/* rgb */ color: rgb(208, 75, 210);
/* oklch */ color: oklch(64.3% 0.226 327.2);
Tailwind
colors: {
  custom: {
    50: '#e287e0',
    500: '#d04bd2',
    950: '#000000',
  },
}
SCSS
$custom: #d04bd2;
$custom-light: #e287e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d04bd2",
  "rgb": {
    "r": 208,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 299.111,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64283,
    "c": 0.22581,
    "h": 327.2
  },
  "luminance": 0.23095
}

Semantic roles & 50–950 ramp

primary
#D04BD2
secondary
#A1D8A0
accent
#E34547
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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