#D17FF4#D17FF4

#D17FF4 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.8% C 0.182 H 315.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D17FF4
RGBrgb(209, 127, 244)
HSLhsl(282, 84%, 73%)
HSVhsv(282, 48%, 96%)
CMYKcmyk(14.3%, 48%, 0%, 4.3%)
CIE-LABlab(65.96, 50.93, -46.21)
CIE-LCHlch(65.96, 68.77, 317.79°)
OKLaboklab(72.76% 0.1284 -0.1284)
OKLCHoklch(72.76% 0.182 315)
XYZxyz(50.2104, 35.2671, 89.7327)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FF4 #A2F47F
analogous
#967FF4 #D17FF4 #F47FDD
triadic
#D17FF4 #F4D17F #7FF4D1
tetradic
#D17FF4 #F4967F #A2F47F #7FDDF4
square
#D17FF4 #F4967F #A2F47F #7FDDF4
split-complementary
#D17FF4 #DDF47F #7FF496
monochromatic
#A614E5 #BD47EF #D17FF4 #E5B7F9 #F5E3FD

Accessibility & contrast

On white

2.61
#D17FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D17FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FF4
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FF4#FFFFFF#000000##000000
##D17FF41.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF8
Deuteranopia (green-blind)
#7FA3F1
Tritanopia (blue-blind)
#CF91AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d17ff4;
/* rgb */ color: rgb(209, 127, 244);
/* oklch */ color: oklch(72.8% 0.182 315.0);
Tailwind
colors: {
  custom: {
    50: '#e1a6f8',
    500: '#d17ff4',
    950: '#000000',
  },
}
SCSS
$custom: #d17ff4;
$custom-light: #e1a6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ff4",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 282.051,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72759,
    "c": 0.18163,
    "h": 315
  },
  "luminance": 0.35266
}

Semantic roles & 50–950 ramp

primary
#D17FF4
secondary
#DFF5D6
accent
#E10547
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D17FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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