#D17BD2#D17BD2

#D17BD2 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.6% C 0.154 H 326.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D17BD2
RGBrgb(209, 123, 210)
HSLhsl(299, 49%, 65%)
HSVhsv(299, 41%, 82%)
CMYKcmyk(0.5%, 41.4%, 0%, 17.6%)
CIE-LABlab(63.65, 46.39, -30.93)
CIE-LCHlch(63.65, 55.76, 326.31°)
OKLaboklab(70.55% 0.1284 -0.0845)
OKLCHoklch(70.55% 0.154 326.6)
XYZxyz(45.0094, 32.3765, 64.8387)
Luminance0.3237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BD2 #7CD27B
analogous
#A57BD2 #D17BD2 #D27BA8
triadic
#D17BD2 #D2D17B #7BD2D1
tetradic
#D17BD2 #D2A57B #7CD27B #7BA8D2
square
#D17BD2 #D2A57B #7CD27B #7BA8D2
split-complementary
#D17BD2 #A8D27B #7BD2A5
monochromatic
#9C369D #C14DC2 #D17BD2 #E1A9E2 #F1D6F1

Accessibility & contrast

On white

2.81
#D17BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D17BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BD2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BD2#FFFFFF#000000##000000
##D17BD21.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D5
Deuteranopia (green-blind)
#8B9ECF
Tritanopia (blue-blind)
#D6849D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d17bd2;
/* rgb */ color: rgb(209, 123, 210);
/* oklch */ color: oklch(70.6% 0.154 326.6);
Tailwind
colors: {
  custom: {
    50: '#e1a3e0',
    500: '#d17bd2',
    950: '#000000',
  },
}
SCSS
$custom: #d17bd2;
$custom-light: #e1a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bd2",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 299.31,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70553,
    "c": 0.15368,
    "h": 326.6
  },
  "luminance": 0.32374
}

Semantic roles & 50–950 ramp

primary
#D17BD2
secondary
#C6E3C6
accent
#BC292B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #D17BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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