#B99BF2#B99BF2

#B99BF2 is a light, vivid violet. Relative luminance 0.402; OKLCH L 74.9% C 0.126 H 299.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#B99BF2
RGBrgb(185, 155, 242)
HSLhsl(261, 77%, 78%)
HSVhsv(261, 36%, 95%)
CMYKcmyk(23.6%, 36%, 0%, 5.1%)
CIE-LABlab(69.59, 28.57, -39.59)
CIE-LCHlch(69.59, 48.82, 305.82°)
OKLaboklab(74.91% 0.0615 -0.1099)
OKLCHoklch(74.91% 0.126 299.2)
XYZxyz(47.7523, 40.1675, 89.2245)
Luminance0.4017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99BF2 #D4F29B
analogous
#9BA8F2 #B99BF2 #E59BF2
triadic
#B99BF2 #F2B99B #9BF2B9
tetradic
#B99BF2 #F29BA8 #D4F29B #9BF2E5
square
#B99BF2 #F29BA8 #D4F29B #9BF2E5
split-complementary
#B99BF2 #F2E59B #A8F29B
monochromatic
#6D2FE4 #9365EB #B99BF2 #DFD1F9 #ECE4FB

Accessibility & contrast

On white

2.32
#B99BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#B99BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99BF2
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99BF2#FFFFFF#000000##000000
##B99BF21.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#8BA9F0
Tritanopia (blue-blind)
#AEA9BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b99bf2;
/* rgb */ color: rgb(185, 155, 242);
/* oklch */ color: oklch(74.9% 0.126 299.2);
Tailwind
colors: {
  custom: {
    50: '#cfb8f6',
    500: '#b99bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b99bf2;
$custom-light: #cfb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b99bf2",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 260.69,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74912,
    "c": 0.12595,
    "h": 299.2
  },
  "luminance": 0.40168
}

Semantic roles & 50–950 ramp

primary
#B99BF2
secondary
#EAF3D8
accent
#D90C93
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #B99BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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