#B99BFB#B99BFB

#B99BFB is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.3% C 0.138 H 297.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B99BFB
RGBrgb(185, 155, 251)
HSLhsl(259, 92%, 80%)
HSVhsv(259, 38%, 98%)
CMYKcmyk(26.3%, 38.2%, 0%, 1.6%)
CIE-LABlab(69.98, 30.69, -43.88)
CIE-LCHlch(69.98, 53.55, 304.97°)
OKLaboklab(75.34% 0.0633 -0.1223)
OKLCHoklch(75.34% 0.138 297.4)
XYZxyz(49.1374, 40.7216, 96.5194)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99BFB #DDFB9B
analogous
#9BADFB #B99BFB #E99BFB
triadic
#B99BFB #FBB99B #9BFBB9
tetradic
#B99BFB #FB9BAD #DDFB9B #9BFBE9
square
#B99BFB #FB9BAD #DDFB9B #9BFBE9
split-complementary
#B99BFB #FBE99B #ADFB9B
monochromatic
#6725F6 #9060F9 #B99BFB #E2D6FD #EAE2FE

Accessibility & contrast

On white

2.30
#B99BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#B99BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99BFB
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99BFB#FFFFFF#000000##000000
##B99BFB1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b99bfb;
/* rgb */ color: rgb(185, 155, 251);
/* oklch */ color: oklch(75.3% 0.138 297.4);
Tailwind
colors: {
  custom: {
    50: '#d0b8fd',
    500: '#b99bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b99bfb;
$custom-light: #d0b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b99bfb",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 258.75,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75338,
    "c": 0.13775,
    "h": 297.4
  },
  "luminance": 0.40722
}

Semantic roles & 50–950 ramp

primary
#B99BFB
secondary
#ECF6D5
accent
#E6009E
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B99BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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