#D196FA#D196FA

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

Color values

HEX#D196FA
RGBrgb(209, 150, 250)
HSLhsl(275, 91%, 78%)
HSVhsv(275, 40%, 98%)
CMYKcmyk(16.4%, 40%, 0%, 2%)
CIE-LABlab(71.06, 40.02, -41.49)
CIE-LCHlch(71.06, 57.65, 313.97°)
OKLaboklab(76.67% 0.0977 -0.1149)
OKLCHoklch(76.67% 0.151 310.4)
XYZxyz(54.4531, 42.2709, 95.7145)
Luminance0.4227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D196FA #BFFA96
analogous
#9F96FA #D196FA #FA96F1
triadic
#D196FA #FAD196 #96FAD1
tetradic
#D196FA #FA9F96 #BFFA96 #96F1FA
square
#D196FA #FA9F96 #BFFA96 #96F1FA
split-complementary
#D196FA #F1FA96 #96FA9F
monochromatic
#9E21F4 #B75CF7 #D196FA #EBD0FD #F2E2FE

Accessibility & contrast

On white

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

On black

9.45
#D196FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D196FA
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D196FA#FFFFFF#000000##000000
##D196FA1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFE
Deuteranopia (green-blind)
#90AFF7
Tritanopia (blue-blind)
#CCA5BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d196fa;
/* rgb */ color: rgb(209, 150, 250);
/* oklch */ color: oklch(76.7% 0.151 310.4);
Tailwind
colors: {
  custom: {
    50: '#e0b6fc',
    500: '#d196fa',
    950: '#000000',
  },
}
SCSS
$custom: #d196fa;
$custom-light: #e0b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d196fa",
  "rgb": {
    "r": 209,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 275.4,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76665,
    "c": 0.15082,
    "h": 310.4
  },
  "luminance": 0.4227
}

Semantic roles & 50–950 ramp

primary
#D196FA
secondary
#E3F6D5
accent
#E6005E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D196FA

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

Preview Lab → · Contrast checker → · Palette generator →

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