#D17CE7#D17CE7

#D17CE7 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.7% C 0.173 H 319.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D17CE7
RGBrgb(209, 124, 231)
HSLhsl(288, 69%, 70%)
HSVhsv(288, 46%, 91%)
CMYKcmyk(9.5%, 46.3%, 0%, 9.4%)
CIE-LABlab(64.76, 49.87, -40.91)
CIE-LCHlch(64.76, 64.51, 320.64°)
OKLaboklab(71.67% 0.1307 -0.1131)
OKLCHoklch(71.67% 0.173 319.1)
XYZxyz(47.9241, 33.7418, 79.5742)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CE7 #92E77C
analogous
#9C7CE7 #D17CE7 #E77CC7
triadic
#D17CE7 #E7D17C #7CE7D1
tetradic
#D17CE7 #E79C7C #92E77C #7CC7E7
square
#D17CE7 #E79C7C #92E77C #7CC7E7
split-complementary
#D17CE7 #C7E77C #7CE79C
monochromatic
#A424C5 #BF48DE #D17CE7 #E3B0F0 #F5E3FA

Accessibility & contrast

On white

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

On black

7.75
#D17CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CE7
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CE7#FFFFFF#000000##000000
##D17CE71.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EB
Deuteranopia (green-blind)
#83A0E4
Tritanopia (blue-blind)
#D28AA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d17ce7;
/* rgb */ color: rgb(209, 124, 231);
/* oklch */ color: oklch(71.7% 0.173 319.1);
Tailwind
colors: {
  custom: {
    50: '#e1a4ef',
    500: '#d17ce7',
    950: '#000000',
  },
}
SCSS
$custom: #d17ce7;
$custom-light: #e1a4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ce7",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 287.664,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71672,
    "c": 0.17286,
    "h": 319.1
  },
  "luminance": 0.3374
}

Semantic roles & 50–950 ramp

primary
#D17CE7
secondary
#D6EFD0
accent
#D1153B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D17CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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