#D578FC#D578FC

#D578FC is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.6% C 0.203 H 315.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#D578FC
RGBrgb(213, 120, 252)
HSLhsl(282, 96%, 73%)
HSVhsv(282, 52%, 99%)
CMYKcmyk(15.5%, 52.4%, 0%, 1.2%)
CIE-LABlab(65.44, 57.17, -51.38)
CIE-LCHlch(65.44, 76.87, 318.05°)
OKLaboklab(72.61% 0.1432 -0.1433)
OKLCHoklch(72.61% 0.203 315)
XYZxyz(51.7250, 34.6089, 96.0320)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D578FC #9FFC78
analogous
#9378FC #D578FC #FC78E1
triadic
#D578FC #FCD578 #78FCD5
tetradic
#D578FC #FC9378 #9FFC78 #78E1FC
square
#D578FC #FC9378 #9FFC78 #78E1FC
split-complementary
#D578FC #E1FC78 #78FC93
monochromatic
#AE05F4 #C23CFB #D578FC #E8B4FD #F6E1FE

Accessibility & contrast

On white

2.65
#D578FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#D578FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D578FC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D578FC#FFFFFF#000000##000000
##D578FC1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#77A1F9
Tritanopia (blue-blind)
#D28DAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d578fc;
/* rgb */ color: rgb(213, 120, 252);
/* oklch */ color: oklch(72.6% 0.203 315.0);
Tailwind
colors: {
  custom: {
    50: '#e4a2fe',
    500: '#d578fc',
    950: '#000000',
  },
}
SCSS
$custom: #d578fc;
$custom-light: #e4a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d578fc",
  "rgb": {
    "r": 213,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 282.273,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72606,
    "c": 0.20261,
    "h": 315
  },
  "luminance": 0.34607
}

Semantic roles & 50–950 ramp

primary
#D578FC
secondary
#DFF7D4
accent
#E60044
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D578FC

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

Preview Lab → · Contrast checker → · Palette generator →

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