#D04CF5#D04CF5

#D04CF5 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.4% C 0.254 H 317.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#D04CF5
RGBrgb(208, 76, 245)
HSLhsl(287, 89%, 63%)
HSVhsv(287, 69%, 96%)
CMYKcmyk(15.1%, 69%, 0%, 3.9%)
CIE-LABlab(57.24, 74.21, -60.61)
CIE-LCHlch(57.24, 95.82, 320.76°)
OKLaboklab(66.39% 0.1883 -0.1701)
OKLCHoklch(66.39% 0.254 317.9)
XYZxyz(45.0760, 25.1733, 88.8531)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CF5 #71F54C
analogous
#7B4CF5 #D04CF5 #F54CC5
triadic
#D04CF5 #F5D04C #4CF5D0
tetradic
#D04CF5 #F57B4C #71F54C #4CC5F5
square
#D04CF5 #F57B4C #71F54C #4CC5F5
split-complementary
#D04CF5 #C5F54C #4CF57B
monochromatic
#950BBC #C112F2 #D04CF5 #DF86F8 #EEC0FB

Accessibility & contrast

On white

3.48
#D04CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#D04CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CF5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CF5#FFFFFF#000000##000000
##D04CF51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#538EF1
Tritanopia (blue-blind)
#CF6D9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d04cf5;
/* rgb */ color: rgb(208, 76, 245);
/* oklch */ color: oklch(66.4% 0.254 317.9);
Tailwind
colors: {
  custom: {
    50: '#e388f9',
    500: '#d04cf5',
    950: '#000000',
  },
}
SCSS
$custom: #d04cf5;
$custom-light: #e388f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cf5",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 286.864,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66394,
    "c": 0.25378,
    "h": 317.9
  },
  "luminance": 0.25171
}

Semantic roles & 50–950 ramp

primary
#D04CF5
secondary
#BDEDB0
accent
#E60032
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #D04CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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