#D99BFA#D99BFA

#D99BFA is a light, vivid violet. Relative luminance 0.451; OKLCH L 78.3% C 0.146 H 313.3°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#D99BFA
RGBrgb(217, 155, 250)
HSLhsl(279, 90%, 79%)
HSVhsv(279, 38%, 98%)
CMYKcmyk(13.2%, 38%, 0%, 2%)
CIE-LABlab(72.96, 39.66, -38.47)
CIE-LCHlch(72.96, 55.25, 315.88°)
OKLaboklab(78.28% 0.0998 -0.1061)
OKLCHoklch(78.28% 0.146 313.3)
XYZxyz(57.5891, 45.0976, 96.0949)
Luminance0.4510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99BFA #BCFA9B
analogous
#AA9BFA #D99BFA #FA9BEB
triadic
#D99BFA #FAD99B #9BFAD9
tetradic
#D99BFA #FAAA9B #BCFA9B #9BEBFA
square
#D99BFA #FAAA9B #BCFA9B #9BEBFA
split-complementary
#D99BFA #EBFA9B #9BFAAA
monochromatic
#AD26F4 #C361F7 #D99BFA #EFD5FD #F4E2FE

Accessibility & contrast

On white

2.10
#D99BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#D99BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99BFA
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99BFA#FFFFFF#000000##000000
##D99BFA1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FE
Deuteranopia (green-blind)
#99B5F7
Tritanopia (blue-blind)
#D6A8BF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99bfa;
/* rgb */ color: rgb(217, 155, 250);
/* oklch */ color: oklch(78.3% 0.146 313.3);
Tailwind
colors: {
  custom: {
    50: '#e6b9fc',
    500: '#d99bfa',
    950: '#000000',
  },
}
SCSS
$custom: #d99bfa;
$custom-light: #e6b9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d99bfa",
  "rgb": {
    "r": 217,
    "g": 155,
    "b": 250
  },
  "hsl": {
    "h": 279.158,
    "s": 90.476,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78281,
    "c": 0.14569,
    "h": 313.3
  },
  "luminance": 0.45097
}

Semantic roles & 50–950 ramp

primary
#D99BFA
secondary
#E1F6D5
accent
#E60050
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D99BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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