#B99BEE#B99BEE

#B99BEE is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.7% C 0.121 H 300.1°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#B99BEE
RGBrgb(185, 155, 238)
HSLhsl(262, 71%, 77%)
HSVhsv(262, 35%, 93%)
CMYKcmyk(22.3%, 34.9%, 0%, 6.7%)
CIE-LABlab(69.42, 27.64, -37.67)
CIE-LCHlch(69.42, 46.72, 306.27°)
OKLaboklab(74.73% 0.0606 -0.1044)
OKLCHoklch(74.73% 0.121 300.1)
XYZxyz(47.1582, 39.9299, 86.0951)
Luminance0.3993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99BEE #D0EE9B
analogous
#9BA7EE #B99BEE #E39BEE
triadic
#B99BEE #EEB99B #9BEEB9
tetradic
#B99BEE #EE9BA7 #D0EE9B #9BEEE3
square
#B99BEE #EE9BA7 #D0EE9B #9BEEE3
split-complementary
#B99BEE #EEE39B #A7EE9B
monochromatic
#7032DC #9467E5 #B99BEE #DECFF7 #EDE5FB

Accessibility & contrast

On white

2.34
#B99BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#B99BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99BEE
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99BEE#FFFFFF#000000##000000
##B99BEE1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F1
Deuteranopia (green-blind)
#8DA9EC
Tritanopia (blue-blind)
#AFA8BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b99bee;
/* rgb */ color: rgb(185, 155, 238);
/* oklch */ color: oklch(74.7% 0.121 300.1);
Tailwind
colors: {
  custom: {
    50: '#cfb8f4',
    500: '#b99bee',
    950: '#000000',
  },
}
SCSS
$custom: #b99bee;
$custom-light: #cfb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b99bee",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 238
  },
  "hsl": {
    "h": 261.687,
    "s": 70.94,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74727,
    "c": 0.1207,
    "h": 300.1
  },
  "luminance": 0.3993
}

Semantic roles & 50–950 ramp

primary
#B99BEE
secondary
#E9F2D9
accent
#D3138D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B99BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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