#D596EC#D596EC

#D596EC is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.4% C 0.137 H 316.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#D596EC
RGBrgb(213, 150, 236)
HSLhsl(284, 69%, 76%)
HSVhsv(284, 36%, 93%)
CMYKcmyk(9.7%, 36.4%, 0%, 7.5%)
CIE-LABlab(70.88, 38.30, -34.09)
CIE-LCHlch(70.88, 51.28, 318.33°)
OKLaboklab(76.43% 0.0994 -0.0936)
OKLCHoklch(76.43% 0.137 316.7)
XYZxyz(53.4850, 42.0163, 84.6331)
Luminance0.4202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D596EC #ADEC96
analogous
#AA96EC #D596EC #EC96D8
triadic
#D596EC #ECD596 #96ECD5
tetradic
#D596EC #ECAA96 #ADEC96 #96D8EC
square
#D596EC #ECAA96 #ADEC96 #96D8EC
split-complementary
#D596EC #D8EC96 #96ECAA
monochromatic
#AC2ED9 #C062E3 #D596EC #EACAF5 #F5E5FA

Accessibility & contrast

On white

2.23
#D596EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#D596EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D596EC
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D596EC#FFFFFF#000000##000000
##D596EC1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EF
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#D5A1B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d596ec;
/* rgb */ color: rgb(213, 150, 236);
/* oklch */ color: oklch(76.4% 0.137 316.7);
Tailwind
colors: {
  custom: {
    50: '#e3b6f2',
    500: '#d596ec',
    950: '#000000',
  },
}
SCSS
$custom: #d596ec;
$custom-light: #e3b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d596ec",
  "rgb": {
    "r": 213,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 283.953,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76434,
    "c": 0.13655,
    "h": 316.7
  },
  "luminance": 0.42015
}

Semantic roles & 50–950 ramp

primary
#D596EC
secondary
#E0F2D9
accent
#D11447
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#151117
muted
#848085

Preview Lab

Preview with #D596EC

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

Preview Lab → · Contrast checker → · Palette generator →

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