#B99FEE#B99FEE

#B99FEE is a light, moderate violet. Relative luminance 0.413; OKLCH L 75.5% C 0.114 H 298.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B99FEE
RGBrgb(185, 159, 238)
HSLhsl(260, 70%, 78%)
HSVhsv(260, 33%, 93%)
CMYKcmyk(22.3%, 33.2%, 0%, 6.7%)
CIE-LABlab(70.37, 25.41, -36.18)
CIE-LCHlch(70.37, 44.22, 305.08°)
OKLaboklab(75.46% 0.055 -0.1002)
OKLCHoklch(75.46% 0.114 298.8)
XYZxyz(47.8349, 41.2834, 86.3207)
Luminance0.4128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99FEE #D4EE9F
analogous
#9FACEE #B99FEE #E19FEE
triadic
#B99FEE #EEB99F #9FEEB9
tetradic
#B99FEE #EE9FAC #D4EE9F #9FEEE1
square
#B99FEE #EE9FAC #D4EE9F #9FEEE1
split-complementary
#B99FEE #EEE19F #ACEE9F
monochromatic
#6D37DC #936BE5 #B99FEE #DFD3F7 #ECE5FA

Accessibility & contrast

On white

2.27
#B99FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#B99FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99FEE
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99FEE#FFFFFF#000000##000000
##B99FEE1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF1
Deuteranopia (green-blind)
#91ABEC
Tritanopia (blue-blind)
#AFACBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b99fee;
/* rgb */ color: rgb(185, 159, 238);
/* oklch */ color: oklch(75.5% 0.114 298.8);
Tailwind
colors: {
  custom: {
    50: '#cfbbf4',
    500: '#b99fee',
    950: '#000000',
  },
}
SCSS
$custom: #b99fee;
$custom-light: #cfbbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b99fee",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 238
  },
  "hsl": {
    "h": 259.747,
    "s": 69.912,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75456,
    "c": 0.11426,
    "h": 298.8
  },
  "luminance": 0.41284
}

Semantic roles & 50–950 ramp

primary
#B99FEE
secondary
#EAF2D9
accent
#D21493
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #B99FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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