#D17AEB#D17AEB

#D17AEB is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.6% C 0.180 H 318.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D17AEB
RGBrgb(209, 122, 235)
HSLhsl(286, 74%, 70%)
HSVhsv(286, 48%, 92%)
CMYKcmyk(11.1%, 48.1%, 0%, 7.8%)
CIE-LABlab(64.54, 51.69, -43.46)
CIE-LCHlch(64.54, 67.53, 319.94°)
OKLaboklab(71.57% 0.1341 -0.1204)
OKLCHoklch(71.57% 0.18 318.1)
XYZxyz(48.2474, 33.4742, 82.5008)
Luminance0.3347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17AEB #94EB7A
analogous
#997AEB #D17AEB #EB7ACC
triadic
#D17AEB #EBD17A #7AEBD1
tetradic
#D17AEB #EB997A #94EB7A #7ACCEB
square
#D17AEB #EB997A #94EB7A #7ACCEB
split-complementary
#D17AEB #CCEB7A #7AEB99
monochromatic
#A41FCC #BF45E3 #D17AEB #E3AFF3 #F6E4FB

Accessibility & contrast

On white

2.73
#D17AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D17AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17AEB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17AEB#FFFFFF#000000##000000
##D17AEB1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#7F9FE8
Tritanopia (blue-blind)
#D18AA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d17aeb;
/* rgb */ color: rgb(209, 122, 235);
/* oklch */ color: oklch(71.6% 0.180 318.1);
Tailwind
colors: {
  custom: {
    50: '#e1a3f2',
    500: '#d17aeb',
    950: '#000000',
  },
}
SCSS
$custom: #d17aeb;
$custom-light: #e1a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d17aeb",
  "rgb": {
    "r": 209,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 286.195,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.71573,
    "c": 0.18022,
    "h": 318.1
  },
  "luminance": 0.33473
}

Semantic roles & 50–950 ramp

primary
#D17AEB
secondary
#D8F0D1
accent
#D6103D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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