#D196EF#D196EF

#D196EF is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.2% C 0.138 H 313.7°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#D196EF
RGBrgb(209, 150, 239)
HSLhsl(280, 74%, 76%)
HSVhsv(280, 37%, 94%)
CMYKcmyk(12.6%, 37.2%, 0%, 6.3%)
CIE-LABlab(70.59, 37.71, -36.21)
CIE-LCHlch(70.59, 52.28, 316.17°)
OKLaboklab(76.16% 0.0954 -0.0998)
OKLCHoklch(76.16% 0.138 313.7)
XYZxyz(52.7783, 41.6010, 86.8941)
Luminance0.4160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D196EF #B4EF96
analogous
#A596EF #D196EF #EF96E1
triadic
#D196EF #EFD196 #96EFD1
tetradic
#D196EF #EFA596 #B4EF96 #96E1EF
square
#D196EF #EFA596 #B4EF96 #96E1EF
split-complementary
#D196EF #E1EF96 #96EFA5
monochromatic
#A22CDF #BA61E7 #D196EF #E8CBF7 #F3E4FB

Accessibility & contrast

On white

2.25
#D196EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#D196EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D196EF
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D196EF#FFFFFF#000000##000000
##D196EF1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F2
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#CFA2B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d196ef;
/* rgb */ color: rgb(209, 150, 239);
/* oklch */ color: oklch(76.2% 0.138 313.7);
Tailwind
colors: {
  custom: {
    50: '#e0b5f4',
    500: '#d196ef',
    950: '#000000',
  },
}
SCSS
$custom: #d196ef;
$custom-light: #e0b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d196ef",
  "rgb": {
    "r": 209,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 279.775,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76164,
    "c": 0.13807,
    "h": 313.7
  },
  "luminance": 0.416
}

Semantic roles & 50–950 ramp

primary
#D196EF
secondary
#E1F3D8
accent
#D61053
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D196EF

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

Preview Lab → · Contrast checker → · Palette generator →

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