#D04FDB#D04FDB

#D04FDB is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.228 H 324.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#D04FDB
RGBrgb(208, 79, 219)
HSLhsl(295, 66%, 58%)
HSVhsv(295, 64%, 86%)
CMYKcmyk(5%, 63.9%, 0%, 14.1%)
CIE-LABlab(56.21, 68.37, -47.68)
CIE-LCHlch(56.21, 83.36, 325.11°)
OKLaboklab(65.18% 0.1857 -0.1324)
OKLCHoklch(65.18% 0.228 324.5)
XYZxyz(41.5935, 24.1188, 69.4687)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FDB #5ADB4F
analogous
#8A4FDB #D04FDB #DB4FA0
triadic
#D04FDB #DBD04F #4FDBD0
tetradic
#D04FDB #DB8A4F #5ADB4F #4FA0DB
square
#D04FDB #DB8A4F #5ADB4F #4FA0DB
split-complementary
#D04FDB #A0DB4F #4FDB8A
monochromatic
#891E92 #B828C5 #D04FDB #DE82E5 #EBB5F0

Accessibility & contrast

On white

3.61
#D04FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#D04FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FDB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FDB#FFFFFF#000000##000000
##D04FDB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DDF
Deuteranopia (green-blind)
#688CD7
Tritanopia (blue-blind)
#D4648E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d04fdb;
/* rgb */ color: rgb(208, 79, 219);
/* oklch */ color: oklch(65.2% 0.228 324.5);
Tailwind
colors: {
  custom: {
    50: '#e289e7',
    500: '#d04fdb',
    950: '#000000',
  },
}
SCSS
$custom: #d04fdb;
$custom-light: #e289e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fdb",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 295.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65181,
    "c": 0.22809,
    "h": 324.5
  },
  "luminance": 0.24116
}

Semantic roles & 50–950 ramp

primary
#D04FDB
secondary
#ABDFA7
accent
#E93F4C
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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