#D99CFD#D99CFD

#D99CFD is a light, vivid violet. Relative luminance 0.456; OKLCH L 78.6% C 0.147 H 312.2°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#D99CFD
RGBrgb(217, 156, 253)
HSLhsl(278, 96%, 80%)
HSVhsv(278, 38%, 99%)
CMYKcmyk(14.2%, 38.3%, 0%, 0.8%)
CIE-LABlab(73.30, 39.75, -39.56)
CIE-LCHlch(73.30, 56.08, 315.13°)
OKLaboklab(78.58% 0.099 -0.1092)
OKLCHoklch(78.58% 0.147 312.2)
XYZxyz(58.2303, 45.6215, 98.6478)
Luminance0.4562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CFD #C0FD9C
analogous
#A89CFD #D99CFD #FD9CF1
triadic
#D99CFD #FDD99C #9CFDD9
tetradic
#D99CFD #FDA89C #C0FD9C #9CF1FD
square
#D99CFD #FDA89C #C0FD9C #9CF1FD
split-complementary
#D99CFD #F1FD9C #9CFDA8
monochromatic
#AB24FB #C260FC #D99CFD #F0D8FE #F3E1FE

Accessibility & contrast

On white

2.07
#D99CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#D99CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CFD
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CFD#FFFFFF#000000##000000
##D99CFD1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#99B5FA
Tritanopia (blue-blind)
#D6AAC1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d99cfd;
/* rgb */ color: rgb(217, 156, 253);
/* oklch */ color: oklch(78.6% 0.147 312.2);
Tailwind
colors: {
  custom: {
    50: '#e6bafe',
    500: '#d99cfd',
    950: '#000000',
  },
}
SCSS
$custom: #d99cfd;
$custom-light: #e6bafe;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cfd",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 253
  },
  "hsl": {
    "h": 277.732,
    "s": 96.04,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78581,
    "c": 0.14746,
    "h": 312.2
  },
  "luminance": 0.4562
}

Semantic roles & 50–950 ramp

primary
#D99CFD
secondary
#E1F7D4
accent
#E60055
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #D99CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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