#B99DFD#B99DFD

#B99DFD is a light, vivid violet. Relative luminance 0.415; OKLCH L 75.8% C 0.137 H 296.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B99DFD
RGBrgb(185, 157, 253)
HSLhsl(258, 96%, 80%)
HSVhsv(258, 38%, 99%)
CMYKcmyk(26.9%, 37.9%, 0%, 0.8%)
CIE-LABlab(70.54, 30.05, -44.09)
CIE-LCHlch(70.54, 53.36, 304.28°)
OKLaboklab(75.79% 0.061 -0.1229)
OKLCHoklch(75.79% 0.137 296.4)
XYZxyz(49.7900, 41.5195, 98.3004)
Luminance0.4152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99DFD #E1FD9D
analogous
#9DB1FD #B99DFD #E99DFD
triadic
#B99DFD #FDB99D #9DFDB9
tetradic
#B99DFD #FD9DB1 #E1FD9D #9DFDE9
square
#B99DFD #FD9DB1 #E1FD9D #9DFDE9
split-complementary
#B99DFD #FDE99D #B1FD9D
monochromatic
#6325FB #8E61FC #B99DFD #E4D9FE #EAE1FE

Accessibility & contrast

On white

2.26
#B99DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#B99DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99DFD
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99DFD#FFFFFF#000000##000000
##B99DFD1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#88ABFB
Tritanopia (blue-blind)
#ABAEC1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b99dfd;
/* rgb */ color: rgb(185, 157, 253);
/* oklch */ color: oklch(75.8% 0.137 296.4);
Tailwind
colors: {
  custom: {
    50: '#d0bafe',
    500: '#b99dfd',
    950: '#000000',
  },
}
SCSS
$custom: #b99dfd;
$custom-light: #d0bafe;
$custom-dark: #000000;
JSON
{
  "hex": "#b99dfd",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 257.5,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.75792,
    "c": 0.13726,
    "h": 296.4
  },
  "luminance": 0.4152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B99DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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