#B99EFD#B99EFD

#B99EFD is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.0% C 0.136 H 296.1°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B99EFD
RGBrgb(185, 158, 253)
HSLhsl(257, 96%, 81%)
HSVhsv(257, 38%, 99%)
CMYKcmyk(26.9%, 37.5%, 0%, 0.8%)
CIE-LABlab(70.77, 29.49, -43.73)
CIE-LCHlch(70.77, 52.74, 304.00°)
OKLaboklab(75.97% 0.0597 -0.1219)
OKLCHoklch(75.97% 0.136 296.1)
XYZxyz(49.9598, 41.8593, 98.3570)
Luminance0.4186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99EFD #E2FD9E
analogous
#9EB2FD #B99EFD #E99EFD
triadic
#B99EFD #FDB99E #9EFDB9
tetradic
#B99EFD #FD9EB2 #E2FD9E #9EFDE9
square
#B99EFD #FD9EB2 #E2FD9E #9EFDE9
split-complementary
#B99EFD #FDE99E #B2FD9E
monochromatic
#6226FB #8E62FC #B99EFD #E4DAFE #E9E1FE

Accessibility & contrast

On white

2.24
#B99EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#B99EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99EFD
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99EFD#FFFFFF#000000##000000
##B99EFD1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#89ACFB
Tritanopia (blue-blind)
#ABAEC2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b99efd;
/* rgb */ color: rgb(185, 158, 253);
/* oklch */ color: oklch(76.0% 0.136 296.1);
Tailwind
colors: {
  custom: {
    50: '#d0bbfe',
    500: '#b99efd',
    950: '#000000',
  },
}
SCSS
$custom: #b99efd;
$custom-light: #d0bbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b99efd",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 257.053,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.75971,
    "c": 0.1357,
    "h": 296.1
  },
  "luminance": 0.4186
}

Semantic roles & 50–950 ramp

primary
#B99EFD
secondary
#EDF7D4
accent
#E600A4
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B99EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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