#D17FF1#D17FF1

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

Color values

HEX#D17FF1
RGBrgb(209, 127, 241)
HSLhsl(283, 80%, 72%)
HSVhsv(283, 47%, 95%)
CMYKcmyk(13.3%, 47.3%, 0%, 5.5%)
CIE-LABlab(65.82, 50.32, -44.78)
CIE-LCHlch(65.82, 67.36, 318.34°)
OKLaboklab(72.61% 0.128 -0.1243)
OKLCHoklch(72.61% 0.178 315.9)
XYZxyz(49.7586, 35.0864, 87.3532)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FF1 #9FF17F
analogous
#987FF1 #D17FF1 #F17FD8
triadic
#D17FF1 #F1D17F #7FF1D1
tetradic
#D17FF1 #F1987F #9FF17F #7FD8F1
square
#D17FF1 #F1987F #9FF17F #7FD8F1
split-complementary
#D17FF1 #D8F17F #7FF198
monochromatic
#A618DD #BD48EB #D17FF1 #E5B6F7 #F5E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D17FF1#FFFFFF#000000##000000
##D17FF11.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)
#699BF5
Deuteranopia (green-blind)
#80A2EE
Tritanopia (blue-blind)
#CF90AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d17ff1;
/* rgb */ color: rgb(209, 127, 241);
/* oklch */ color: oklch(72.6% 0.178 315.9);
Tailwind
colors: {
  custom: {
    50: '#e1a6f6',
    500: '#d17ff1',
    950: '#000000',
  },
}
SCSS
$custom: #d17ff1;
$custom-light: #e1a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ff1",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 283.158,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72609,
    "c": 0.17844,
    "h": 315.9
  },
  "luminance": 0.35085
}

Semantic roles & 50–950 ramp

primary
#D17FF1
secondary
#DFF4D7
accent
#DD0944
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D17FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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