#D96ECB#D96ECB

#D96ECB is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.3% C 0.174 H 332.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#D96ECB
RGBrgb(217, 110, 203)
HSLhsl(308, 58%, 64%)
HSVhsv(308, 49%, 85%)
CMYKcmyk(0%, 49.3%, 6.5%, 14.9%)
CIE-LABlab(61.84, 54.09, -29.71)
CIE-LCHlch(61.84, 61.71, 331.22°)
OKLaboklab(69.32% 0.1546 -0.0808)
OKLCHoklch(69.32% 0.174 332.4)
XYZxyz(44.9705, 30.2182, 59.9524)
Luminance0.3021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96ECB #6ED97C
analogous
#B16ED9 #D96ECB #D96E96
triadic
#D96ECB #CBD96E #6ECBD9
tetradic
#D96ECB #D9B16E #6ED97C #6E96D9
square
#D96ECB #D9B16E #6ED97C #6E96D9
split-complementary
#D96ECB #96D96E #6ED9B1
monochromatic
#A22A92 #CC3EBA #D96ECB #E69EDC #F2CFEE

Accessibility & contrast

On white

2.98
#D96ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#D96ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96ECB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96ECB#FFFFFF#000000##000000
##D96ECB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCE
Deuteranopia (green-blind)
#8A9BC8
Tritanopia (blue-blind)
#E17593
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d96ecb;
/* rgb */ color: rgb(217, 110, 203);
/* oklch */ color: oklch(69.3% 0.174 332.4);
Tailwind
colors: {
  custom: {
    50: '#e79bdb',
    500: '#d96ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d96ecb;
$custom-light: #e79bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ecb",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 203
  },
  "hsl": {
    "h": 307.85,
    "s": 58.47,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69322,
    "c": 0.1744,
    "h": 332.4
  },
  "luminance": 0.30215
}

Semantic roles & 50–950 ramp

primary
#D96ECB
secondary
#BFE4C4
accent
#C6351F
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D96ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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