#B99AEB#B99AEB

#B99AEB is a light, moderate violet. Relative luminance 0.394; OKLCH L 74.4% C 0.118 H 301.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B99AEB
RGBrgb(185, 154, 235)
HSLhsl(263, 67%, 76%)
HSVhsv(263, 34%, 92%)
CMYKcmyk(21.3%, 34.5%, 0%, 7.8%)
CIE-LABlab(69.06, 27.51, -36.59)
CIE-LCHlch(69.06, 45.78, 306.94°)
OKLaboklab(74.41% 0.0613 -0.1013)
OKLCHoklch(74.41% 0.118 301.2)
XYZxyz(46.5554, 39.4236, 83.7380)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99AEB #CCEB9A
analogous
#9AA4EB #B99AEB #E29AEB
triadic
#B99AEB #EBB99A #9AEBB9
tetradic
#B99AEB #EB9AA4 #CCEB9A #9AEBE2
square
#B99AEB #EB9AA4 #CCEB9A #9AEBE2
split-complementary
#B99AEB #EBE29A #A4EB9A
monochromatic
#7234D7 #9667E1 #B99AEB #DCCDF5 #EDE5FA

Accessibility & contrast

On white

2.36
#B99AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#B99AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99AEB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99AEB#FFFFFF#000000##000000
##B99AEB1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#8DA8E9
Tritanopia (blue-blind)
#B0A7B8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b99aeb;
/* rgb */ color: rgb(185, 154, 235);
/* oklch */ color: oklch(74.4% 0.118 301.2);
Tailwind
colors: {
  custom: {
    50: '#cfb8f1',
    500: '#b99aeb',
    950: '#000000',
  },
}
SCSS
$custom: #b99aeb;
$custom-light: #cfb8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b99aeb",
  "rgb": {
    "r": 185,
    "g": 154,
    "b": 235
  },
  "hsl": {
    "h": 262.963,
    "s": 66.942,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7441,
    "c": 0.1184,
    "h": 301.2
  },
  "luminance": 0.39424
}

Semantic roles & 50–950 ramp

primary
#B99AEB
secondary
#E8F1DA
accent
#CF1788
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B99AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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