#D199F2#D199F2

#D199F2 is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.8% C 0.136 H 312.3°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#D199F2
RGBrgb(209, 153, 242)
HSLhsl(278, 77%, 77%)
HSVhsv(278, 37%, 95%)
CMYKcmyk(13.6%, 36.8%, 0%, 5.1%)
CIE-LABlab(71.38, 36.72, -36.62)
CIE-LCHlch(71.38, 51.86, 315.07°)
OKLaboklab(76.8% 0.0918 -0.1009)
OKLCHoklch(76.8% 0.136 312.3)
XYZxyz(53.7100, 42.7495, 89.4092)
Luminance0.4275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D199F2 #BAF299
analogous
#A599F2 #D199F2 #F299E6
triadic
#D199F2 #F2D199 #99F2D1
tetradic
#D199F2 #F2A599 #BAF299 #99E6F2
square
#D199F2 #F2A599 #BAF299 #99E6F2
split-complementary
#D199F2 #E6F299 #99F2A5
monochromatic
#A02CE4 #B963EB #D199F2 #E9CFF9 #F3E4FC

Accessibility & contrast

On white

2.20
#D199F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#D199F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D199F2
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D199F2#FFFFFF#000000##000000
##D199F21.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#96B0EF
Tritanopia (blue-blind)
#CEA5BA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d199f2;
/* rgb */ color: rgb(209, 153, 242);
/* oklch */ color: oklch(76.8% 0.136 312.3);
Tailwind
colors: {
  custom: {
    50: '#e0b8f6',
    500: '#d199f2',
    950: '#000000',
  },
}
SCSS
$custom: #d199f2;
$custom-light: #e0b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d199f2",
  "rgb": {
    "r": 209,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 277.753,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76802,
    "c": 0.13646,
    "h": 312.3
  },
  "luminance": 0.42749
}

Semantic roles & 50–950 ramp

primary
#D199F2
secondary
#E2F3D8
accent
#DA0C58
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #D199F2

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

Preview Lab → · Contrast checker → · Palette generator →

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