#D17BE6#D17BE6

#D17BE6 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.5% C 0.173 H 319.5°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D17BE6
RGBrgb(209, 123, 230)
HSLhsl(288, 68%, 69%)
HSVhsv(288, 47%, 90%)
CMYKcmyk(9.1%, 46.5%, 0%, 9.8%)
CIE-LABlab(64.51, 50.19, -40.74)
CIE-LCHlch(64.51, 64.64, 320.93°)
OKLaboklab(71.48% 0.132 -0.1126)
OKLCHoklch(71.48% 0.173 319.5)
XYZxyz(47.6586, 33.4361, 78.7909)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BE6 #90E67B
analogous
#9C7BE6 #D17BE6 #E67BC6
triadic
#D17BE6 #E6D17B #7BE6D1
tetradic
#D17BE6 #E69C7B #90E67B #7BC6E6
square
#D17BE6 #E69C7B #90E67B #7BC6E6
split-complementary
#D17BE6 #C6E67B #7BE69C
monochromatic
#A325C2 #BF48DC #D17BE6 #E3AEF0 #F5E2F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D17BE6#FFFFFF#000000##000000
##D17BE61.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)
#6A97EA
Deuteranopia (green-blind)
#82A0E3
Tritanopia (blue-blind)
#D289A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d17be6;
/* rgb */ color: rgb(209, 123, 230);
/* oklch */ color: oklch(71.5% 0.173 319.5);
Tailwind
colors: {
  custom: {
    50: '#e1a3ee',
    500: '#d17be6',
    950: '#000000',
  },
}
SCSS
$custom: #d17be6;
$custom-light: #e1a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d17be6",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 230
  },
  "hsl": {
    "h": 288.224,
    "s": 68.153,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71476,
    "c": 0.17347,
    "h": 319.5
  },
  "luminance": 0.33434
}

Semantic roles & 50–950 ramp

primary
#D17BE6
secondary
#D5EECF
accent
#D0153A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D17BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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