#D045FC#D045FC

#D045FC is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 66.2% C 0.267 H 316.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D045FC
RGBrgb(208, 69, 252)
HSLhsl(286, 97%, 63%)
HSVhsv(286, 73%, 99%)
CMYKcmyk(17.5%, 72.6%, 0%, 1.2%)
CIE-LABlab(56.78, 78.03, -65.25)
CIE-LCHlch(56.78, 101.72, 320.10°)
OKLaboklab(66.2% 0.1942 -0.1837)
OKLCHoklch(66.2% 0.267 316.6)
XYZxyz(45.7086, 24.6963, 94.4357)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D045FC #71FC45
analogous
#7545FC #D045FC #FC45CC
triadic
#D045FC #FCD045 #45FCD0
tetradic
#D045FC #FC7545 #71FC45 #45CCFC
square
#D045FC #FC7545 #71FC45 #45CCFC
split-complementary
#D045FC #CCFC45 #45FC75
monochromatic
#9503C3 #C109FB #D045FC #DF81FD #EEBDFE

Accessibility & contrast

On white

3.54
#D045FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#D045FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D045FC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D045FC#FFFFFF#000000##000000
##D045FC1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#468CF8
Tritanopia (blue-blind)
#CD6C9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d045fc;
/* rgb */ color: rgb(208, 69, 252);
/* oklch */ color: oklch(66.2% 0.267 316.6);
Tailwind
colors: {
  custom: {
    50: '#e385fe',
    500: '#d045fc',
    950: '#000000',
  },
}
SCSS
$custom: #d045fc;
$custom-light: #e385fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d045fc",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 252
  },
  "hsl": {
    "h": 285.574,
    "s": 96.825,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66198,
    "c": 0.26733,
    "h": 316.6
  },
  "luminance": 0.24694
}

Semantic roles & 50–950 ramp

primary
#D045FC
secondary
#BDEFAD
accent
#E60037
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #D045FC

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

Preview Lab → · Contrast checker → · Palette generator →

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