#D17BC8#D17BC8

#D17BC8 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.1% C 0.144 H 330.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#D17BC8
RGBrgb(209, 123, 200)
HSLhsl(306, 48%, 65%)
HSVhsv(306, 41%, 82%)
CMYKcmyk(0%, 41.1%, 4.3%, 18%)
CIE-LABlab(63.25, 44.59, -25.93)
CIE-LCHlch(63.25, 51.58, 329.83°)
OKLaboklab(70.12% 0.1261 -0.0703)
OKLCHoklch(70.12% 0.144 330.9)
XYZxyz(43.8023, 31.8936, 58.4813)
Luminance0.3189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BC8 #7BD184
analogous
#AF7BD1 #D17BC8 #D17B9D
triadic
#D17BC8 #C8D17B #7BC8D1
tetradic
#D17BC8 #D1AF7B #7BD184 #7B9DD1
square
#D17BC8 #D1AF7B #7BD184 #7B9DD1
split-complementary
#D17BC8 #9DD17B #7BD1AF
monochromatic
#9B3691 #C14EB5 #D17BC8 #E1A8DB #F1D6EE

Accessibility & contrast

On white

2.85
#D17BC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#D17BC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BC8
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BC8#FFFFFF#000000##000000
##D17BC81.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7892CB
Deuteranopia (green-blind)
#8F9DC5
Tritanopia (blue-blind)
#D78198
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d17bc8;
/* rgb */ color: rgb(209, 123, 200);
/* oklch */ color: oklch(70.1% 0.144 330.9);
Tailwind
colors: {
  custom: {
    50: '#e1a3d9',
    500: '#d17bc8',
    950: '#000000',
  },
}
SCSS
$custom: #d17bc8;
$custom-light: #e1a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bc8",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 306.279,
    "s": 48.315,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70124,
    "c": 0.14442,
    "h": 330.9
  },
  "luminance": 0.31891
}

Semantic roles & 50–950 ramp

primary
#D17BC8
secondary
#C5E2C8
accent
#BC392A
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #D17BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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