#D199FC#D199FC

#D199FC is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.3% C 0.148 H 309.3°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#D199FC
RGBrgb(209, 153, 252)
HSLhsl(274, 94%, 79%)
HSVhsv(274, 39%, 99%)
CMYKcmyk(17.1%, 39.3%, 0%, 1.2%)
CIE-LABlab(71.80, 38.83, -41.41)
CIE-LCHlch(71.80, 56.77, 313.16°)
OKLaboklab(77.26% 0.0939 -0.1147)
OKLCHoklch(77.26% 0.148 309.3)
XYZxyz(55.2532, 43.3667, 97.5365)
Luminance0.4337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D199FC #C4FC99
analogous
#A099FC #D199FC #FC99F6
triadic
#D199FC #FCD199 #99FCD1
tetradic
#D199FC #FCA099 #C4FC99 #99F6FC
square
#D199FC #FCA099 #C4FC99 #99F6FC
split-complementary
#D199FC #F6FC99 #99FCA0
monochromatic
#9B22F9 #B65EFA #D199FC #ECD4FE #F2E1FE

Accessibility & contrast

On white

2.17
#D199FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#D199FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D199FC
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D199FC#FFFFFF#000000##000000
##D199FC1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#CCA8BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d199fc;
/* rgb */ color: rgb(209, 153, 252);
/* oklch */ color: oklch(77.3% 0.148 309.3);
Tailwind
colors: {
  custom: {
    50: '#e0b8fd',
    500: '#d199fc',
    950: '#000000',
  },
}
SCSS
$custom: #d199fc;
$custom-light: #e0b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d199fc",
  "rgb": {
    "r": 209,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 273.939,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77256,
    "c": 0.14821,
    "h": 309.3
  },
  "luminance": 0.43366
}

Semantic roles & 50–950 ramp

primary
#D199FC
secondary
#E3F6D5
accent
#E60064
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D199FC

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

Preview Lab → · Contrast checker → · Palette generator →

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