#D17CFA#D17CFA

#D17CFA is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.6% C 0.193 H 313.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D17CFA
RGBrgb(209, 124, 250)
HSLhsl(280, 93%, 73%)
HSVhsv(280, 50%, 98%)
CMYKcmyk(16.4%, 50.4%, 0%, 2%)
CIE-LABlab(65.65, 53.71, -49.99)
CIE-LCHlch(65.65, 73.37, 317.05°)
OKLaboklab(72.63% 0.1331 -0.1394)
OKLCHoklch(72.63% 0.193 313.7)
XYZxyz(50.7546, 34.8740, 94.4817)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CFA #A5FA7C
analogous
#927CFA #D17CFA #FA7CE4
triadic
#D17CFA #FAD17C #7CFAD1
tetradic
#D17CFA #FA927C #A5FA7C #7CE4FA
square
#D17CFA #FA927C #A5FA7C #7CE4FA
split-complementary
#D17CFA #E4FA7C #7CFA92
monochromatic
#A609F2 #BC41F8 #D17CFA #E6B7FC #F5E2FE

Accessibility & contrast

On white

2.63
#D17CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D17CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CFA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CFA#FFFFFF#000000##000000
##D17CFA1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#CE90B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17cfa;
/* rgb */ color: rgb(209, 124, 250);
/* oklch */ color: oklch(72.6% 0.193 313.7);
Tailwind
colors: {
  custom: {
    50: '#e1a4fc',
    500: '#d17cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d17cfa;
$custom-light: #e1a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cfa",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 280.476,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72626,
    "c": 0.19273,
    "h": 313.7
  },
  "luminance": 0.34873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D17CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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