#D04BC5#D04BC5

#D04BC5 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.6% C 0.216 H 331.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D04BC5
RGBrgb(208, 75, 197)
HSLhsl(305, 59%, 55%)
HSVhsv(305, 64%, 82%)
CMYKcmyk(0%, 63.9%, 5.3%, 18.4%)
CIE-LABlab(54.53, 66.29, -37.79)
CIE-LCHlch(54.53, 76.31, 330.31°)
OKLaboklab(63.61% 0.189 -0.1038)
OKLCHoklch(63.61% 0.216 331.2)
XYZxyz(38.6064, 22.4761, 55.1175)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04BC5 #4BD056
analogous
#984BD0 #D04BC5 #D04B83
triadic
#D04BC5 #C5D04B #4BC5D0
tetradic
#D04BC5 #D0984B #4BD056 #4B83D0
square
#D04BC5 #D0984B #4BD056 #4B83D0
split-complementary
#D04BC5 #83D04B #4BD098
monochromatic
#7F2178 #B02EA5 #D04BC5 #DD7CD5 #E9ACE4

Accessibility & contrast

On white

3.82
#D04BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#D04BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04BC5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04BC5#FFFFFF#000000##000000
##D04BC51.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4377C9
Deuteranopia (green-blind)
#7189C2
Tritanopia (blue-blind)
#D85881
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d04bc5;
/* rgb */ color: rgb(208, 75, 197);
/* oklch */ color: oklch(63.6% 0.216 331.2);
Tailwind
colors: {
  custom: {
    50: '#e286d7',
    500: '#d04bc5',
    950: '#000000',
  },
}
SCSS
$custom: #d04bc5;
$custom-light: #e286d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04bc5",
  "rgb": {
    "r": 208,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 304.962,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63607,
    "c": 0.21558,
    "h": 331.2
  },
  "luminance": 0.22473
}

Semantic roles & 50–950 ramp

primary
#D04BC5
secondary
#A0D7A4
accent
#E25346
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D04BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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