#D17AE8#D17AE8

#D17AE8 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.4% C 0.177 H 319.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D17AE8
RGBrgb(209, 122, 232)
HSLhsl(287, 71%, 69%)
HSVhsv(287, 47%, 91%)
CMYKcmyk(9.9%, 47.4%, 0%, 9%)
CIE-LABlab(64.40, 51.09, -42.02)
CIE-LCHlch(64.40, 66.15, 320.57°)
OKLaboklab(71.43% 0.1336 -0.1163)
OKLCHoklch(71.43% 0.177 319)
XYZxyz(47.8176, 33.3023, 80.2374)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17AE8 #91E87A
analogous
#9A7AE8 #D17AE8 #E87AC8
triadic
#D17AE8 #E8D17A #7AE8D1
tetradic
#D17AE8 #E89A7A #91E87A #7AC8E8
square
#D17AE8 #E89A7A #91E87A #7AC8E8
split-complementary
#D17AE8 #C8E87A #7AE89A
monochromatic
#A322C5 #BF46DF #D17AE8 #E3AEF1 #F5E2FA

Accessibility & contrast

On white

2.74
#D17AE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D17AE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17AE8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17AE8#FFFFFF#000000##000000
##D17AE81.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#819FE5
Tritanopia (blue-blind)
#D289A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d17ae8;
/* rgb */ color: rgb(209, 122, 232);
/* oklch */ color: oklch(71.4% 0.177 319.0);
Tailwind
colors: {
  custom: {
    50: '#e1a3ef',
    500: '#d17ae8',
    950: '#000000',
  },
}
SCSS
$custom: #d17ae8;
$custom-light: #e1a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ae8",
  "rgb": {
    "r": 209,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 287.455,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71425,
    "c": 0.17715,
    "h": 319
  },
  "luminance": 0.33301
}

Semantic roles & 50–950 ramp

primary
#D17AE8
secondary
#D6EFCF
accent
#D3133B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D17AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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