#D17CDB#D17CDB

#D17CDB is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.1% C 0.161 H 323.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D17CDB
RGBrgb(209, 124, 219)
HSLhsl(294, 57%, 67%)
HSVhsv(294, 43%, 86%)
CMYKcmyk(4.6%, 43.4%, 0%, 14.1%)
CIE-LABlab(64.23, 47.55, -35.06)
CIE-LCHlch(64.23, 59.08, 323.60°)
OKLaboklab(71.11% 0.1287 -0.0963)
OKLCHoklch(71.11% 0.161 323.2)
XYZxyz(46.2870, 33.0870, 70.9524)
Luminance0.3308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CDB #86DB7C
analogous
#A17CDB #D17CDB #DB7CB6
triadic
#D17CDB #DBD17C #7CDBD1
tetradic
#D17CDB #DBA17C #86DB7C #7CB6DB
square
#D17CDB #DBA17C #86DB7C #7CB6DB
split-complementary
#D17CDB #B6DB7C #7CDBA1
monochromatic
#A030AD #C04CCE #D17CDB #E2ACE8 #F3DCF5

Accessibility & contrast

On white

2.76
#D17CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#D17CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CDB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CDB#FFFFFF#000000##000000
##D17CDB1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DE
Deuteranopia (green-blind)
#889FD8
Tritanopia (blue-blind)
#D487A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d17cdb;
/* rgb */ color: rgb(209, 124, 219);
/* oklch */ color: oklch(71.1% 0.161 323.2);
Tailwind
colors: {
  custom: {
    50: '#e1a4e6',
    500: '#d17cdb',
    950: '#000000',
  },
}
SCSS
$custom: #d17cdb;
$custom-light: #e1a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cdb",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 293.684,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71108,
    "c": 0.16074,
    "h": 323.2
  },
  "luminance": 0.33085
}

Semantic roles & 50–950 ramp

primary
#D17CDB
secondary
#CEE8CA
accent
#C42132
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #D17CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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