#D04BD7#D04BD7

#D04BD7 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.6% C 0.230 H 325.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D04BD7
RGBrgb(208, 75, 215)
HSLhsl(297, 64%, 57%)
HSVhsv(297, 65%, 84%)
CMYKcmyk(3.3%, 65.1%, 0%, 15.7%)
CIE-LABlab(55.43, 69.26, -46.64)
CIE-LCHlch(55.43, 83.50, 326.04°)
OKLaboklab(64.55% 0.19 -0.1294)
OKLCHoklch(64.55% 0.23 325.7)
XYZxyz(40.7934, 23.3509, 66.6353)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04BD7 #52D74B
analogous
#8A4BD7 #D04BD7 #D74B98
triadic
#D04BD7 #D7D04B #4BD7D0
tetradic
#D04BD7 #D78A4B #52D74B #4B98D7
square
#D04BD7 #D78A4B #52D74B #4B98D7
split-complementary
#D04BD7 #98D74B #4BD78A
monochromatic
#841E89 #B42ABB #D04BD7 #DD7DE2 #EAAFED

Accessibility & contrast

On white

3.70
#D04BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#D04BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04BD7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04BD7#FFFFFF#000000##000000
##D04BD71.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#317ADB
Deuteranopia (green-blind)
#688BD3
Tritanopia (blue-blind)
#D5608B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04bd7;
/* rgb */ color: rgb(208, 75, 215);
/* oklch */ color: oklch(64.6% 0.230 325.7);
Tailwind
colors: {
  custom: {
    50: '#e287e4',
    500: '#d04bd7',
    950: '#000000',
  },
}
SCSS
$custom: #d04bd7;
$custom-light: #e287e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d04bd7",
  "rgb": {
    "r": 208,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 297,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64554,
    "c": 0.22985,
    "h": 325.7
  },
  "luminance": 0.23348
}

Semantic roles & 50–950 ramp

primary
#D04BD7
secondary
#A5DBA2
accent
#E74149
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D04BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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