#D17BE8#D17BE8

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

Color values

HEX#D17BE8
RGBrgb(209, 123, 232)
HSLhsl(287, 70%, 70%)
HSVhsv(287, 47%, 91%)
CMYKcmyk(9.9%, 47%, 0%, 9%)
CIE-LABlab(64.60, 50.58, -41.71)
CIE-LCHlch(64.60, 65.56, 320.49°)
OKLaboklab(71.57% 0.1323 -0.1154)
OKLCHoklch(71.57% 0.176 318.9)
XYZxyz(47.9410, 33.5491, 80.2786)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BE8 #92E87B
analogous
#9A7BE8 #D17BE8 #E87BC9
triadic
#D17BE8 #E8D17B #7BE8D1
tetradic
#D17BE8 #E89A7B #92E87B #7BC9E8
square
#D17BE8 #E89A7B #92E87B #7BC9E8
split-complementary
#D17BE8 #C9E87B #7BE89A
monochromatic
#A423C6 #BF47DF #D17BE8 #E3AFF1 #F5E3FA

Accessibility & contrast

On white

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

On black

7.71
#D17BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BE8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BE8#FFFFFF#000000##000000
##D17BE81.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6997EC
Deuteranopia (green-blind)
#81A0E5
Tritanopia (blue-blind)
#D28AA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d17be8;
/* rgb */ color: rgb(209, 123, 232);
/* oklch */ color: oklch(71.6% 0.176 318.9);
Tailwind
colors: {
  custom: {
    50: '#e1a3ef',
    500: '#d17be8',
    950: '#000000',
  },
}
SCSS
$custom: #d17be8;
$custom-light: #e1a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d17be8",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 232
  },
  "hsl": {
    "h": 287.339,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71572,
    "c": 0.17552,
    "h": 318.9
  },
  "luminance": 0.33547
}

Semantic roles & 50–950 ramp

primary
#D17BE8
secondary
#D6EFD0
accent
#D2133C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D17BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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