#D04BD5#D04BD5

#D04BD5 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.4% C 0.228 H 326.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#D04BD5
RGBrgb(208, 75, 213)
HSLhsl(298, 62%, 56%)
HSVhsv(298, 65%, 84%)
CMYKcmyk(2.3%, 64.8%, 0%, 16.5%)
CIE-LABlab(55.33, 68.92, -45.67)
CIE-LCHlch(55.33, 82.68, 326.47°)
OKLaboklab(64.44% 0.1899 -0.1265)
OKLCHoklch(64.44% 0.228 326.3)
XYZxyz(40.5380, 23.2487, 65.2902)
Luminance0.2325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04BD5 #50D54B
analogous
#8B4BD5 #D04BD5 #D54B95
triadic
#D04BD5 #D5D04B #4BD5D0
tetradic
#D04BD5 #D58B4B #50D54B #4B95D5
square
#D04BD5 #D58B4B #50D54B #4B95D5
split-complementary
#D04BD5 #95D54B #4BD58B
monochromatic
#831F86 #B32BB8 #D04BD5 #DD7DE1 #EAAEEC

Accessibility & contrast

On white

3.72
#D04BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#D04BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04BD5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04BD5#FFFFFF#000000##000000
##D04BD51.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#347AD9
Deuteranopia (green-blind)
#698AD1
Tritanopia (blue-blind)
#D55F8A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d04bd5;
/* rgb */ color: rgb(208, 75, 213);
/* oklch */ color: oklch(64.4% 0.228 326.3);
Tailwind
colors: {
  custom: {
    50: '#e287e2',
    500: '#d04bd5',
    950: '#000000',
  },
}
SCSS
$custom: #d04bd5;
$custom-light: #e287e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04bd5",
  "rgb": {
    "r": 208,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 297.826,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64445,
    "c": 0.22822,
    "h": 326.3
  },
  "luminance": 0.23246
}

Semantic roles & 50–950 ramp

primary
#D04BD5
secondary
#A4DAA2
accent
#E54348
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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