#D04FF3#D04FF3

#D04FF3 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.6% C 0.249 H 318.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#D04FF3
RGBrgb(208, 79, 243)
HSLhsl(287, 87%, 63%)
HSVhsv(287, 67%, 95%)
CMYKcmyk(14.4%, 67.5%, 0%, 4.7%)
CIE-LABlab(57.54, 72.69, -59.03)
CIE-LCHlch(57.54, 93.64, 320.92°)
OKLaboklab(66.57% 0.1854 -0.1655)
OKLCHoklch(66.57% 0.249 318.2)
XYZxyz(44.9838, 25.4749, 87.3243)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FF3 #72F34F
analogous
#7E4FF3 #D04FF3 #F34FC4
triadic
#D04FF3 #F3D04F #4FF3D0
tetradic
#D04FF3 #F37E4F #72F34F #4FC4F3
square
#D04FF3 #F37E4F #72F34F #4FC4F3
split-complementary
#D04FF3 #C4F34F #4FF37E
monochromatic
#960DBB #C116EF #D04FF3 #DF88F7 #EFC2FB

Accessibility & contrast

On white

3.45
#D04FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#D04FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FF3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FF3#FFFFFF#000000##000000
##D04FF31.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#CF6E9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d04ff3;
/* rgb */ color: rgb(208, 79, 243);
/* oklch */ color: oklch(66.6% 0.249 318.2);
Tailwind
colors: {
  custom: {
    50: '#e28af8',
    500: '#d04ff3',
    950: '#000000',
  },
}
SCSS
$custom: #d04ff3;
$custom-light: #e28af8;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ff3",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 243
  },
  "hsl": {
    "h": 287.195,
    "s": 87.234,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66565,
    "c": 0.24855,
    "h": 318.2
  },
  "luminance": 0.25473
}

Semantic roles & 50–950 ramp

primary
#D04FF3
secondary
#BEECB2
accent
#E40232
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #D04FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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