#D04BD6#D04BD6

#D04BD6 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.5% C 0.229 H 326.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#D04BD6
RGBrgb(208, 75, 214)
HSLhsl(297, 63%, 57%)
HSVhsv(297, 65%, 84%)
CMYKcmyk(2.8%, 65%, 0%, 16.1%)
CIE-LABlab(55.38, 69.09, -46.16)
CIE-LCHlch(55.38, 83.09, 326.25°)
OKLaboklab(64.5% 0.19 -0.1279)
OKLCHoklch(64.5% 0.229 326)
XYZxyz(40.6653, 23.2997, 65.9607)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04BD6 #51D64B
analogous
#8B4BD6 #D04BD6 #D64B97
triadic
#D04BD6 #D6D04B #4BD6D0
tetradic
#D04BD6 #D68B4B #51D64B #4B97D6
square
#D04BD6 #D68B4B #51D64B #4B97D6
split-complementary
#D04BD6 #97D64B #4BD68B
monochromatic
#831F88 #B32ABA #D04BD6 #DD7DE1 #EAAFED

Accessibility & contrast

On white

3.71
#D04BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#D04BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04BD6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04BD6#FFFFFF#000000##000000
##D04BD61.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#327ADA
Deuteranopia (green-blind)
#688AD2
Tritanopia (blue-blind)
#D55F8A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04bd6;
/* rgb */ color: rgb(208, 75, 214);
/* oklch */ color: oklch(64.5% 0.229 326.0);
Tailwind
colors: {
  custom: {
    50: '#e287e3',
    500: '#d04bd6',
    950: '#000000',
  },
}
SCSS
$custom: #d04bd6;
$custom-light: #e287e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d04bd6",
  "rgb": {
    "r": 208,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 297.41,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.645,
    "c": 0.22904,
    "h": 326
  },
  "luminance": 0.23297
}

Semantic roles & 50–950 ramp

primary
#D04BD6
secondary
#A4DBA2
accent
#E64249
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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