#D196EB#D196EB

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

Color values

HEX#D196EB
RGBrgb(209, 150, 235)
HSLhsl(282, 68%, 75%)
HSVhsv(282, 36%, 92%)
CMYKcmyk(11.1%, 36.2%, 0%, 7.8%)
CIE-LABlab(70.43, 36.89, -34.27)
CIE-LCHlch(70.43, 50.36, 317.11°)
OKLaboklab(75.99% 0.0946 -0.0942)
OKLCHoklch(75.99% 0.134 315.1)
XYZxyz(52.1939, 41.3673, 83.8163)
Luminance0.4137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D196EB #B0EB96
analogous
#A696EB #D196EB #EB96DA
triadic
#D196EB #EBD196 #96EBD1
tetradic
#D196EB #EBA696 #B0EB96 #96DAEB
square
#D196EB #EBA696 #B0EB96 #96DAEB
split-complementary
#D196EB #DAEB96 #96EBA6
monochromatic
#A42FD7 #BA63E1 #D196EB #E8C9F5 #F4E5FA

Accessibility & contrast

On white

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

On black

9.27
#D196EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D196EB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D196EB#FFFFFF#000000##000000
##D196EB1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EE
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#D0A1B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d196eb;
/* rgb */ color: rgb(209, 150, 235);
/* oklch */ color: oklch(76.0% 0.134 315.1);
Tailwind
colors: {
  custom: {
    50: '#e0b5f1',
    500: '#d196eb',
    950: '#000000',
  },
}
SCSS
$custom: #d196eb;
$custom-light: #e0b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d196eb",
  "rgb": {
    "r": 209,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 281.647,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75988,
    "c": 0.1335,
    "h": 315.1
  },
  "luminance": 0.41366
}

Semantic roles & 50–950 ramp

primary
#D196EB
secondary
#E1F2D9
accent
#D0164F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D196EB

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

Preview Lab → · Contrast checker → · Palette generator →

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