#D17CE5#D17CE5

#D17CE5 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.6% C 0.171 H 319.8°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#D17CE5
RGBrgb(209, 124, 229)
HSLhsl(289, 67%, 69%)
HSVhsv(289, 46%, 90%)
CMYKcmyk(8.7%, 45.9%, 0%, 10.2%)
CIE-LABlab(64.67, 49.48, -39.94)
CIE-LCHlch(64.67, 63.59, 321.09°)
OKLaboklab(71.58% 0.1304 -0.1103)
OKLCHoklch(71.58% 0.171 319.8)
XYZxyz(47.6432, 33.6295, 78.0950)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CE5 #90E57C
analogous
#9D7CE5 #D17CE5 #E57CC5
triadic
#D17CE5 #E5D17C #7CE5D1
tetradic
#D17CE5 #E59D7C #90E57C #7CC5E5
square
#D17CE5 #E59D7C #90E57C #7CC5E5
split-complementary
#D17CE5 #C5E57C #7CE59D
monochromatic
#A326C0 #BF49DB #D17CE5 #E3AFEF #F5E2F9

Accessibility & contrast

On white

2.72
#D17CE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#D17CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CE5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CE5#FFFFFF#000000##000000
##D17CE51.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97E9
Deuteranopia (green-blind)
#84A0E2
Tritanopia (blue-blind)
#D28AA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d17ce5;
/* rgb */ color: rgb(209, 124, 229);
/* oklch */ color: oklch(71.6% 0.171 319.8);
Tailwind
colors: {
  custom: {
    50: '#e1a4ed',
    500: '#d17ce5',
    950: '#000000',
  },
}
SCSS
$custom: #d17ce5;
$custom-light: #e1a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ce5",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 229
  },
  "hsl": {
    "h": 288.571,
    "s": 66.879,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71576,
    "c": 0.17081,
    "h": 319.8
  },
  "luminance": 0.33628
}

Semantic roles & 50–950 ramp

primary
#D17CE5
secondary
#D5EECF
accent
#CF173A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D17CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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