#D17CE8#D17CE8

#D17CE8 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.7% C 0.174 H 318.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D17CE8
RGBrgb(209, 124, 232)
HSLhsl(287, 70%, 70%)
HSVhsv(287, 47%, 91%)
CMYKcmyk(9.9%, 46.6%, 0%, 9%)
CIE-LABlab(64.80, 50.07, -41.40)
CIE-LCHlch(64.80, 64.97, 320.42°)
OKLaboklab(71.72% 0.1309 -0.1145)
OKLCHoklch(71.72% 0.174 318.8)
XYZxyz(48.0657, 33.7985, 80.3201)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CE8 #93E87C
analogous
#9B7CE8 #D17CE8 #E87CC9
triadic
#D17CE8 #E8D17C #7CE8D1
tetradic
#D17CE8 #E89B7C #93E87C #7CC9E8
square
#D17CE8 #E89B7C #93E87C #7CC9E8
split-complementary
#D17CE8 #C9E87C #7CE89B
monochromatic
#A423C7 #BF48DF #D17CE8 #E3B0F1 #F6E4FA

Accessibility & contrast

On white

2.71
#D17CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D17CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CE8
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CE8#FFFFFF#000000##000000
##D17CE81.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EC
Deuteranopia (green-blind)
#82A0E5
Tritanopia (blue-blind)
#D18BA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d17ce8;
/* rgb */ color: rgb(209, 124, 232);
/* oklch */ color: oklch(71.7% 0.174 318.8);
Tailwind
colors: {
  custom: {
    50: '#e1a4ef',
    500: '#d17ce8',
    950: '#000000',
  },
}
SCSS
$custom: #d17ce8;
$custom-light: #e1a4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ce8",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 232
  },
  "hsl": {
    "h": 287.222,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71721,
    "c": 0.1739,
    "h": 318.8
  },
  "luminance": 0.33797
}

Semantic roles & 50–950 ramp

primary
#D17CE8
secondary
#D7EFD1
accent
#D2133C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D17CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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