#D196FB#D196FB

#D196FB is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.7% C 0.152 H 310.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#D196FB
RGBrgb(209, 150, 251)
HSLhsl(275, 93%, 79%)
HSVhsv(275, 40%, 98%)
CMYKcmyk(16.7%, 40.2%, 0%, 1.6%)
CIE-LABlab(71.10, 40.24, -41.97)
CIE-LCHlch(71.10, 58.14, 313.80°)
OKLaboklab(76.71% 0.0979 -0.1163)
OKLCHoklch(76.71% 0.152 310.1)
XYZxyz(54.6103, 42.3338, 96.5425)
Luminance0.4233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D196FB #C0FB96
analogous
#9E96FB #D196FB #FB96F2
triadic
#D196FB #FBD196 #96FBD1
tetradic
#D196FB #FB9E96 #C0FB96 #96F2FB
square
#D196FB #FB9E96 #C0FB96 #96F2FB
split-complementary
#D196FB #F2FB96 #96FB9E
monochromatic
#9D20F7 #B75BF9 #D196FB #EBD1FD #F2E2FE

Accessibility & contrast

On white

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

On black

9.47
#D196FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D196FB
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D196FB#FFFFFF#000000##000000
##D196FB1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d196fb;
/* rgb */ color: rgb(209, 150, 251);
/* oklch */ color: oklch(76.7% 0.152 310.1);
Tailwind
colors: {
  custom: {
    50: '#e0b6fd',
    500: '#d196fb',
    950: '#000000',
  },
}
SCSS
$custom: #d196fb;
$custom-light: #e0b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d196fb",
  "rgb": {
    "r": 209,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 275.05,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76712,
    "c": 0.15198,
    "h": 310.1
  },
  "luminance": 0.42333
}

Semantic roles & 50–950 ramp

primary
#D196FB
secondary
#E3F6D5
accent
#E6005F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D196FB

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

Preview Lab → · Contrast checker → · Palette generator →

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