#B99EFE#B99EFE

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

Color values

HEX#B99EFE
RGBrgb(185, 158, 254)
HSLhsl(257, 98%, 81%)
HSVhsv(257, 38%, 100%)
CMYKcmyk(27.2%, 37.8%, 0%, 0.4%)
CIE-LABlab(70.82, 29.73, -44.20)
CIE-LCHlch(70.82, 53.27, 303.93°)
OKLaboklab(76.02% 0.0599 -0.1232)
OKLCHoklch(76.02% 0.137 295.9)
XYZxyz(50.1196, 41.9232, 99.1982)
Luminance0.4192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99EFE #E3FE9E
analogous
#9EB3FE #B99EFE #E99EFE
triadic
#B99EFE #FEB99E #9EFEB9
tetradic
#B99EFE #FE9EB3 #E3FE9E #9EFEE9
square
#B99EFE #FE9EB3 #E3FE9E #9EFEE9
split-complementary
#B99EFE #FEE99E #B3FE9E
monochromatic
#6225FD #8D61FD #B99EFE #E5DBFF #E9E1FF

Accessibility & contrast

On white

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

On black

9.38
#B99EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99EFE
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99EFE#FFFFFF#000000##000000
##B99EFE1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#ABAFC2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b99efe;
/* rgb */ color: rgb(185, 158, 254);
/* oklch */ color: oklch(76.0% 0.137 295.9);
Tailwind
colors: {
  custom: {
    50: '#d0bbff',
    500: '#b99efe',
    950: '#000000',
  },
}
SCSS
$custom: #b99efe;
$custom-light: #d0bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#b99efe",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 256.875,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.76019,
    "c": 0.13702,
    "h": 295.9
  },
  "luminance": 0.41924
}

Semantic roles & 50–950 ramp

primary
#B99EFE
secondary
#EDF7D4
accent
#E600A5
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B99EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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