#B99DFE#B99DFE

#B99DFE is a light, vivid violet. Relative luminance 0.416; OKLCH L 75.8% C 0.139 H 296.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#B99DFE
RGBrgb(185, 157, 254)
HSLhsl(257, 98%, 81%)
HSVhsv(257, 38%, 100%)
CMYKcmyk(27.2%, 38.2%, 0%, 0.4%)
CIE-LABlab(70.58, 30.29, -44.57)
CIE-LCHlch(70.58, 53.89, 304.20°)
OKLaboklab(75.84% 0.0612 -0.1243)
OKLCHoklch(75.84% 0.139 296.2)
XYZxyz(49.9497, 41.5834, 99.1415)
Luminance0.4158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99DFE #E2FE9D
analogous
#9DB1FE #B99DFE #EA9DFE
triadic
#B99DFE #FEB99D #9DFEB9
tetradic
#B99DFE #FE9DB1 #E2FE9D #9DFEEA
square
#B99DFE #FE9DB1 #E2FE9D #9DFEEA
split-complementary
#B99DFE #FEEA9D #B1FE9D
monochromatic
#6224FD #8E60FD #B99DFE #E4DAFF #E9E1FF

Accessibility & contrast

On white

2.25
#B99DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#B99DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99DFE
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99DFE#FFFFFF#000000##000000
##B99DFE1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#87ABFB
Tritanopia (blue-blind)
#ABAEC2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b99dfe;
/* rgb */ color: rgb(185, 157, 254);
/* oklch */ color: oklch(75.8% 0.139 296.2);
Tailwind
colors: {
  custom: {
    50: '#d0baff',
    500: '#b99dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b99dfe;
$custom-light: #d0baff;
$custom-dark: #000000;
JSON
{
  "hex": "#b99dfe",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 257.32,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.7584,
    "c": 0.13857,
    "h": 296.2
  },
  "luminance": 0.41584
}

Semantic roles & 50–950 ramp

primary
#B99DFE
secondary
#EDF7D4
accent
#E600A3
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B99DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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