#D196EC#D196EC

#D196EC is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.0% C 0.135 H 314.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#D196EC
RGBrgb(209, 150, 236)
HSLhsl(281, 69%, 76%)
HSVhsv(281, 36%, 93%)
CMYKcmyk(11.4%, 36.4%, 0%, 7.5%)
CIE-LABlab(70.47, 37.10, -34.76)
CIE-LCHlch(70.47, 50.84, 316.86°)
OKLaboklab(76.03% 0.0948 -0.0956)
OKLCHoklch(76.03% 0.135 314.8)
XYZxyz(52.3388, 41.4252, 84.5793)
Luminance0.4142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D196EC #B1EC96
analogous
#A696EC #D196EC #EC96DC
triadic
#D196EC #ECD196 #96ECD1
tetradic
#D196EC #ECA696 #B1EC96 #96DCEC
square
#D196EC #ECA696 #B1EC96 #96DCEC
split-complementary
#D196EC #DCEC96 #96ECA6
monochromatic
#A42ED9 #BA62E3 #D196EC #E8CAF5 #F4E5FA

Accessibility & contrast

On white

2.26
#D196EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#D196EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D196EC
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D196EC#FFFFFF#000000##000000
##D196EC1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#96AEE9
Tritanopia (blue-blind)
#CFA1B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d196ec;
/* rgb */ color: rgb(209, 150, 236);
/* oklch */ color: oklch(76.0% 0.135 314.8);
Tailwind
colors: {
  custom: {
    50: '#e0b5f2',
    500: '#d196ec',
    950: '#000000',
  },
}
SCSS
$custom: #d196ec;
$custom-light: #e0b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d196ec",
  "rgb": {
    "r": 209,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 281.163,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76032,
    "c": 0.13463,
    "h": 314.8
  },
  "luminance": 0.41424
}

Semantic roles & 50–950 ramp

primary
#D196EC
secondary
#E1F2D9
accent
#D11450
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D196EC

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

Preview Lab → · Contrast checker → · Palette generator →

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