#D17DFA#D17DFA

#D17DFA is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.8% C 0.191 H 313.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#D17DFA
RGBrgb(209, 125, 250)
HSLhsl(280, 93%, 74%)
HSVhsv(280, 50%, 98%)
CMYKcmyk(16.4%, 50%, 0%, 2%)
CIE-LABlab(65.85, 53.20, -49.68)
CIE-LCHlch(65.85, 72.78, 316.96°)
OKLaboklab(72.77% 0.1318 -0.1385)
OKLCHoklch(72.77% 0.191 313.6)
XYZxyz(50.8806, 35.1259, 94.5236)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17DFA #A6FA7D
analogous
#927DFA #D17DFA #FA7DE4
triadic
#D17DFA #FAD17D #7DFAD1
tetradic
#D17DFA #FA927D #A6FA7D #7DE4FA
square
#D17DFA #FA927D #A6FA7D #7DE4FA
split-complementary
#D17DFA #E4FA7D #7DFA92
monochromatic
#A709F3 #BC42F8 #D17DFA #E6B8FC #F5E2FE

Accessibility & contrast

On white

2.62
#D17DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#D17DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17DFA
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17DFA#FFFFFF#000000##000000
##D17DFA1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#CE91B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d17dfa;
/* rgb */ color: rgb(209, 125, 250);
/* oklch */ color: oklch(72.8% 0.191 313.6);
Tailwind
colors: {
  custom: {
    50: '#e1a5fc',
    500: '#d17dfa',
    950: '#000000',
  },
}
SCSS
$custom: #d17dfa;
$custom-light: #e1a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d17dfa",
  "rgb": {
    "r": 209,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 280.32,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72772,
    "c": 0.19117,
    "h": 313.6
  },
  "luminance": 0.35125
}

Semantic roles & 50–950 ramp

primary
#D17DFA
secondary
#E0F6D5
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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