#D17BEE#D17BEE

#D17BEE is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.9% C 0.182 H 317.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D17BEE
RGBrgb(209, 123, 238)
HSLhsl(285, 77%, 71%)
HSVhsv(285, 48%, 93%)
CMYKcmyk(12.2%, 48.3%, 0%, 6.7%)
CIE-LABlab(64.88, 51.77, -44.59)
CIE-LCHlch(64.88, 68.33, 319.26°)
OKLaboklab(71.87% 0.1331 -0.1237)
OKLCHoklch(71.87% 0.182 317.1)
XYZxyz(48.8078, 33.8958, 84.8438)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BEE #98EE7B
analogous
#977BEE #D17BEE #EE7BD1
triadic
#D17BEE #EED17B #7BEED1
tetradic
#D17BEE #EE977B #98EE7B #7BD1EE
square
#D17BEE #EE977B #98EE7B #7BD1EE
split-complementary
#D17BEE #D1EE7B #7BEE97
monochromatic
#A51BD3 #BE45E7 #D17BEE #E4B1F5 #F6E4FC

Accessibility & contrast

On white

2.70
#D17BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#D17BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BEE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BEE#FFFFFF#000000##000000
##D17BEE1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F2
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#D08CAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d17bee;
/* rgb */ color: rgb(209, 123, 238);
/* oklch */ color: oklch(71.9% 0.182 317.1);
Tailwind
colors: {
  custom: {
    50: '#e1a4f4',
    500: '#d17bee',
    950: '#000000',
  },
}
SCSS
$custom: #d17bee;
$custom-light: #e1a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bee",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 284.87,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71868,
    "c": 0.18171,
    "h": 317.1
  },
  "luminance": 0.33894
}

Semantic roles & 50–950 ramp

primary
#D17BEE
secondary
#DBF2D3
accent
#D90C40
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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