#B99BFC#B99BFC

#B99BFC is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.4% C 0.139 H 297.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B99BFC
RGBrgb(185, 155, 252)
HSLhsl(259, 94%, 80%)
HSVhsv(259, 38%, 99%)
CMYKcmyk(26.6%, 38.5%, 0%, 1.2%)
CIE-LABlab(70.02, 30.93, -44.36)
CIE-LCHlch(70.02, 54.07, 304.88°)
OKLaboklab(75.39% 0.0635 -0.1237)
OKLCHoklch(75.39% 0.139 297.2)
XYZxyz(49.2955, 40.7848, 97.3517)
Luminance0.4078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99BFC #DEFC9B
analogous
#9BADFC #B99BFC #EA9BFC
triadic
#B99BFC #FCB99B #9BFCB9
tetradic
#B99BFC #FC9BAD #DEFC9B #9BFCEA
square
#B99BFC #FC9BAD #DEFC9B #9BFCEA
split-complementary
#B99BFC #FCEA9B #ADFC9B
monochromatic
#6624F8 #8F60FA #B99BFC #E3D6FE #EAE1FE

Accessibility & contrast

On white

2.29
#B99BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B99BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99BFC
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99BFC#FFFFFF#000000##000000
##B99BFC1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#ACACC0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b99bfc;
/* rgb */ color: rgb(185, 155, 252);
/* oklch */ color: oklch(75.4% 0.139 297.2);
Tailwind
colors: {
  custom: {
    50: '#d0b8fd',
    500: '#b99bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b99bfc;
$custom-light: #d0b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b99bfc",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 252
  },
  "hsl": {
    "h": 258.557,
    "s": 94.175,
    "l": 79.804
  },
  "oklch": {
    "l": 0.75387,
    "c": 0.13906,
    "h": 297.2
  },
  "luminance": 0.40785
}

Semantic roles & 50–950 ramp

primary
#B99BFC
secondary
#ECF6D5
accent
#E6009F
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B99BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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