#D17BED#D17BED

#D17BED is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.8% C 0.181 H 317.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#D17BED
RGBrgb(209, 123, 237)
HSLhsl(285, 76%, 71%)
HSVhsv(285, 48%, 93%)
CMYKcmyk(11.8%, 48.1%, 0%, 7.1%)
CIE-LABlab(64.83, 51.57, -44.11)
CIE-LCHlch(64.83, 67.87, 319.46°)
OKLaboklab(71.82% 0.133 -0.1223)
OKLCHoklch(71.82% 0.181 317.4)
XYZxyz(48.6613, 33.8372, 84.0723)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17BED #97ED7B
analogous
#987BED #D17BED #ED7BD0
triadic
#D17BED #EDD17B #7BEDD1
tetradic
#D17BED #ED987B #97ED7B #7BD0ED
square
#D17BED #ED987B #97ED7B #7BD0ED
split-complementary
#D17BED #D0ED7B #7BED98
monochromatic
#A51DD1 #BE45E6 #D17BED #E4B1F4 #F6E4FB

Accessibility & contrast

On white

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

On black

7.77
#D17BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17BED
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17BED#FFFFFF#000000##000000
##D17BED1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F1
Deuteranopia (green-blind)
#7FA0EA
Tritanopia (blue-blind)
#D08BA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d17bed;
/* rgb */ color: rgb(209, 123, 237);
/* oklch */ color: oklch(71.8% 0.181 317.4);
Tailwind
colors: {
  custom: {
    50: '#e1a4f3',
    500: '#d17bed',
    950: '#000000',
  },
}
SCSS
$custom: #d17bed;
$custom-light: #e1a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d17bed",
  "rgb": {
    "r": 209,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 285.263,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71819,
    "c": 0.18068,
    "h": 317.4
  },
  "luminance": 0.33836
}

Semantic roles & 50–950 ramp

primary
#D17BED
secondary
#DAF1D2
accent
#D80D3F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17BED

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

Preview Lab → · Contrast checker → · Palette generator →

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