#D04FEB#D04FEB

#D04FEB is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.1% C 0.242 H 320.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#D04FEB
RGBrgb(208, 79, 235)
HSLhsl(290, 80%, 62%)
HSVhsv(290, 66%, 92%)
CMYKcmyk(11.5%, 66.4%, 0%, 7.8%)
CIE-LABlab(57.08, 71.22, -55.30)
CIE-LCHlch(57.08, 90.17, 322.17°)
OKLaboklab(66.09% 0.1857 -0.1546)
OKLCHoklch(66.09% 0.242 320.2)
XYZxyz(43.8020, 25.0022, 81.0998)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FEB #6AEB4F
analogous
#824FEB #D04FEB #EB4FB8
triadic
#D04FEB #EBD04F #4FEBD0
tetradic
#D04FEB #EB824F #6AEB4F #4FB8EB
square
#D04FEB #EB824F #6AEB4F #4FB8EB
split-complementary
#D04FEB #B8EB4F #4FEB82
monochromatic
#9214AC #C01AE3 #D04FEB #DF86F1 #EDBDF7

Accessibility & contrast

On white

3.50
#D04FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#D04FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FEB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FEB#FFFFFF#000000##000000
##D04FEB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1680F0
Deuteranopia (green-blind)
#5D8EE7
Tritanopia (blue-blind)
#D16B97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d04feb;
/* rgb */ color: rgb(208, 79, 235);
/* oklch */ color: oklch(66.1% 0.242 320.2);
Tailwind
colors: {
  custom: {
    50: '#e28af2',
    500: '#d04feb',
    950: '#000000',
  },
}
SCSS
$custom: #d04feb;
$custom-light: #e28af2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04feb",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 289.615,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6609,
    "c": 0.24165,
    "h": 320.2
  },
  "luminance": 0.25
}

Semantic roles & 50–950 ramp

primary
#D04FEB
secondary
#B8E8AE
accent
#DC0A2E
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #D04FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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