#D99CFA#D99CFA

#D99CFA is a light, vivid violet. Relative luminance 0.454; OKLCH L 78.4% C 0.144 H 313.1°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#D99CFA
RGBrgb(217, 156, 250)
HSLhsl(279, 90%, 80%)
HSVhsv(279, 38%, 98%)
CMYKcmyk(13.2%, 37.6%, 0%, 2%)
CIE-LABlab(73.18, 39.13, -38.13)
CIE-LCHlch(73.18, 54.63, 315.74°)
OKLaboklab(78.45% 0.0984 -0.1051)
OKLCHoklch(78.45% 0.144 313.1)
XYZxyz(57.7562, 45.4319, 96.1506)
Luminance0.4543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CFA #BDFA9C
analogous
#AA9CFA #D99CFA #FA9CEC
triadic
#D99CFA #FAD99C #9CFAD9
tetradic
#D99CFA #FAAA9C #BDFA9C #9CECFA
square
#D99CFA #FAAA9C #BDFA9C #9CECFA
split-complementary
#D99CFA #ECFA9C #9CFAAA
monochromatic
#AC27F4 #C362F7 #D99CFA #EFD6FD #F4E2FE

Accessibility & contrast

On white

2.08
#D99CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#D99CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CFA
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CFA#FFFFFF#000000##000000
##D99CFA1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FE
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#D6A9BF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d99cfa;
/* rgb */ color: rgb(217, 156, 250);
/* oklch */ color: oklch(78.4% 0.144 313.1);
Tailwind
colors: {
  custom: {
    50: '#e6bafc',
    500: '#d99cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d99cfa;
$custom-light: #e6bafc;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cfa",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 278.936,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78447,
    "c": 0.14402,
    "h": 313.1
  },
  "luminance": 0.45431
}

Semantic roles & 50–950 ramp

primary
#D99CFA
secondary
#E1F6D5
accent
#E60051
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D99CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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