#D196DF#D196DF

#D196DF is a light, vivid purple. Relative luminance 0.407; OKLCH L 75.5% C 0.120 H 319.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#D196DF
RGBrgb(209, 150, 223)
HSLhsl(288, 53%, 73%)
HSVhsv(288, 33%, 87%)
CMYKcmyk(6.3%, 32.7%, 0%, 12.5%)
CIE-LABlab(69.96, 34.49, -28.41)
CIE-LCHlch(69.96, 44.68, 320.52°)
OKLaboklab(75.48% 0.0917 -0.0776)
OKLCHoklch(75.48% 0.12 319.8)
XYZxyz(50.5184, 40.6971, 74.9919)
Luminance0.4070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D196DF #A4DF96
analogous
#AC96DF #D196DF #DF96C8
triadic
#D196DF #DFD196 #96DFD1
tetradic
#D196DF #DFAC96 #A4DF96 #96C8DF
square
#D196DF #DFAC96 #A4DF96 #96C8DF
split-complementary
#D196DF #C8DF96 #96DFAC
monochromatic
#A63BC0 #BC67D1 #D196DF #E6C5ED #F5E8F8

Accessibility & contrast

On white

2.30
#D196DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#D196DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D196DF
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D196DF#FFFFFF#000000##000000
##D196DF1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA7E2
Deuteranopia (green-blind)
#9BADDD
Tritanopia (blue-blind)
#D29EB1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d196df;
/* rgb */ color: rgb(209, 150, 223);
/* oklch */ color: oklch(75.5% 0.120 319.8);
Tailwind
colors: {
  custom: {
    50: '#e0b5e9',
    500: '#d196df',
    950: '#000000',
  },
}
SCSS
$custom: #d196df;
$custom-light: #e0b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d196df",
  "rgb": {
    "r": 209,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 288.493,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75478,
    "c": 0.12009,
    "h": 319.8
  },
  "luminance": 0.40696
}

Semantic roles & 50–950 ramp

primary
#D196DF
secondary
#E0EFDC
accent
#C12543
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D196DF

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

Preview Lab → · Contrast checker → · Palette generator →

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