#D99FFB#D99FFB

#D99FFB is a light, vivid violet. Relative luminance 0.465; OKLCH L 79.0% C 0.140 H 312.3°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#D99FFB
RGBrgb(217, 159, 251)
HSLhsl(278, 92%, 80%)
HSVhsv(278, 37%, 98%)
CMYKcmyk(13.5%, 36.7%, 0%, 1.6%)
CIE-LABlab(73.88, 37.72, -37.58)
CIE-LCHlch(73.88, 53.25, 315.11°)
OKLaboklab(78.99% 0.0944 -0.1036)
OKLCHoklch(78.99% 0.14 312.3)
XYZxyz(58.4231, 46.5140, 97.1485)
Luminance0.4651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99FFB #C1FB9F
analogous
#AB9FFB #D99FFB #FB9FEF
triadic
#D99FFB #FBD99F #9FFBD9
tetradic
#D99FFB #FBAB9F #C1FB9F #9FEFFB
square
#D99FFB #FBAB9F #C1FB9F #9FEFFB
split-complementary
#D99FFB #EFFB9F #9FFBAB
monochromatic
#AA29F6 #C264F9 #D99FFB #F0DAFD #F3E2FE

Accessibility & contrast

On white

2.04
#D99FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#D99FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99FFB
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99FFB#FFFFFF#000000##000000
##D99FFB1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FE
Deuteranopia (green-blind)
#9CB7F8
Tritanopia (blue-blind)
#D6ACC1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d99ffb;
/* rgb */ color: rgb(217, 159, 251);
/* oklch */ color: oklch(79.0% 0.140 312.3);
Tailwind
colors: {
  custom: {
    50: '#e6bcfd',
    500: '#d99ffb',
    950: '#000000',
  },
}
SCSS
$custom: #d99ffb;
$custom-light: #e6bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d99ffb",
  "rgb": {
    "r": 217,
    "g": 159,
    "b": 251
  },
  "hsl": {
    "h": 277.826,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.78992,
    "c": 0.14014,
    "h": 312.3
  },
  "luminance": 0.46513
}

Semantic roles & 50–950 ramp

primary
#D99FFB
secondary
#E1F6D5
accent
#E60055
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D99FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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