#D199EF#D199EF

#D199EF is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.7% C 0.133 H 313.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#D199EF
RGBrgb(209, 153, 239)
HSLhsl(279, 73%, 77%)
HSVhsv(279, 36%, 94%)
CMYKcmyk(12.6%, 36%, 0%, 6.3%)
CIE-LABlab(71.26, 36.09, -35.17)
CIE-LCHlch(71.26, 50.40, 315.74°)
OKLaboklab(76.67% 0.0912 -0.0968)
OKLCHoklch(76.67% 0.133 313.3)
XYZxyz(53.2632, 42.5707, 87.0557)
Luminance0.4257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D199EF #B7EF99
analogous
#A699EF #D199EF #EF99E2
triadic
#D199EF #EFD199 #99EFD1
tetradic
#D199EF #EFA699 #B7EF99 #99E2EF
square
#D199EF #EFA699 #B7EF99 #99E2EF
split-complementary
#D199EF #E2EF99 #99EFA6
monochromatic
#A12FDE #B964E7 #D199EF #E9CEF7 #F3E5FB

Accessibility & contrast

On white

2.21
#D199EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#D199EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D199EF
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D199EF#FFFFFF#000000##000000
##D199EF1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF2
Deuteranopia (green-blind)
#97B0EC
Tritanopia (blue-blind)
#CFA5B9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d199ef;
/* rgb */ color: rgb(209, 153, 239);
/* oklch */ color: oklch(76.7% 0.133 313.3);
Tailwind
colors: {
  custom: {
    50: '#e0b8f4',
    500: '#d199ef',
    950: '#000000',
  },
}
SCSS
$custom: #d199ef;
$custom-light: #e0b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d199ef",
  "rgb": {
    "r": 209,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 279.07,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7667,
    "c": 0.13297,
    "h": 313.3
  },
  "luminance": 0.4257
}

Semantic roles & 50–950 ramp

primary
#D199EF
secondary
#E2F3D8
accent
#D51155
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D199EF

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

Preview Lab → · Contrast checker → · Palette generator →

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