#D17FFA#D17FFA

#D17FFA is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.1% C 0.188 H 313.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#D17FFA
RGBrgb(209, 127, 250)
HSLhsl(280, 92%, 74%)
HSVhsv(280, 49%, 98%)
CMYKcmyk(16.4%, 49.2%, 0%, 2%)
CIE-LABlab(66.24, 52.17, -49.05)
CIE-LCHlch(66.24, 71.61, 316.77°)
OKLaboklab(73.07% 0.1292 -0.1367)
OKLCHoklch(73.07% 0.188 313.4)
XYZxyz(51.1363, 35.6374, 94.6089)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FFA #A8FA7F
analogous
#947FFA #D17FFA #FA7FE6
triadic
#D17FFA #FAD17F #7FFAD1
tetradic
#D17FFA #FA947F #A8FA7F #7FE6FA
square
#D17FFA #FA947F #A8FA7F #7FE6FA
split-complementary
#D17FFA #E6FA7F #7FFA94
monochromatic
#A70AF5 #BC44F8 #D17FFA #E6BAFC #F4E2FE

Accessibility & contrast

On white

2.58
#D17FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#D17FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FFA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FFA#FFFFFF#000000##000000
##D17FFA1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#7BA3F7
Tritanopia (blue-blind)
#CD92B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d17ffa;
/* rgb */ color: rgb(209, 127, 250);
/* oklch */ color: oklch(73.1% 0.188 313.4);
Tailwind
colors: {
  custom: {
    50: '#e1a6fc',
    500: '#d17ffa',
    950: '#000000',
  },
}
SCSS
$custom: #d17ffa;
$custom-light: #e1a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ffa",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 280,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73065,
    "c": 0.18805,
    "h": 313.4
  },
  "luminance": 0.35636
}

Semantic roles & 50–950 ramp

primary
#D17FFA
secondary
#E0F6D5
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D17FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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