#D196FC#D196FC

#D196FC is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.8% C 0.153 H 309.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#D196FC
RGBrgb(209, 150, 252)
HSLhsl(275, 94%, 79%)
HSVhsv(275, 40%, 99%)
CMYKcmyk(17.1%, 40.5%, 0%, 1.2%)
CIE-LABlab(71.14, 40.45, -42.44)
CIE-LCHlch(71.14, 58.63, 313.62°)
OKLaboklab(76.76% 0.0981 -0.1177)
OKLCHoklch(76.76% 0.153 309.8)
XYZxyz(54.7683, 42.3970, 97.3748)
Luminance0.4240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D196FC #C1FC96
analogous
#9E96FC #D196FC #FC96F4
triadic
#D196FC #FCD196 #96FCD1
tetradic
#D196FC #FC9E96 #C1FC96 #96F4FC
square
#D196FC #FC9E96 #C1FC96 #96F4FC
split-complementary
#D196FC #F4FC96 #96FC9E
monochromatic
#9D1FF9 #B75BFA #D196FC #EBD2FE #F2E1FE

Accessibility & contrast

On white

2.22
#D196FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#D196FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D196FC
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D196FC#FFFFFF#000000##000000
##D196FC1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#CCA5BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d196fc;
/* rgb */ color: rgb(209, 150, 252);
/* oklch */ color: oklch(76.8% 0.153 309.8);
Tailwind
colors: {
  custom: {
    50: '#e0b6fd',
    500: '#d196fc',
    950: '#000000',
  },
}
SCSS
$custom: #d196fc;
$custom-light: #e0b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d196fc",
  "rgb": {
    "r": 209,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 274.706,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76759,
    "c": 0.15316,
    "h": 309.8
  },
  "luminance": 0.42396
}

Semantic roles & 50–950 ramp

primary
#D196FC
secondary
#E3F6D5
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D196FC

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

Preview Lab → · Contrast checker → · Palette generator →

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