#B99AEA#B99AEA

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

Color values

HEX#B99AEA
RGBrgb(185, 154, 234)
HSLhsl(263, 66%, 76%)
HSVhsv(263, 34%, 92%)
CMYKcmyk(20.9%, 34.2%, 0%, 8.2%)
CIE-LABlab(69.02, 27.28, -36.11)
CIE-LCHlch(69.02, 45.25, 307.08°)
OKLaboklab(74.36% 0.0611 -0.0999)
OKLCHoklch(74.36% 0.117 301.4)
XYZxyz(46.4113, 39.3659, 82.9793)
Luminance0.3937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99AEA #CBEA9A
analogous
#9AA3EA #B99AEA #E19AEA
triadic
#B99AEA #EAB99A #9AEAB9
tetradic
#B99AEA #EA9AA3 #CBEA9A #9AEAE1
square
#B99AEA #EA9AA3 #CBEA9A #9AEAE1
split-complementary
#B99AEA #EAE19A #A3EA9A
monochromatic
#7335D5 #9667DF #B99AEA #DCCDF5 #EDE6FA

Accessibility & contrast

On white

2.37
#B99AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B99AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99AEA
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99AEA#FFFFFF#000000##000000
##B99AEA1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8ED
Deuteranopia (green-blind)
#8EA8E8
Tritanopia (blue-blind)
#B1A7B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b99aea;
/* rgb */ color: rgb(185, 154, 234);
/* oklch */ color: oklch(74.4% 0.117 301.4);
Tailwind
colors: {
  custom: {
    50: '#cfb8f1',
    500: '#b99aea',
    950: '#000000',
  },
}
SCSS
$custom: #b99aea;
$custom-light: #cfb8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b99aea",
  "rgb": {
    "r": 185,
    "g": 154,
    "b": 234
  },
  "hsl": {
    "h": 263.25,
    "s": 65.574,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74364,
    "c": 0.1171,
    "h": 301.4
  },
  "luminance": 0.39366
}

Semantic roles & 50–950 ramp

primary
#B99AEA
secondary
#E8F1DA
accent
#CD1887
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B99AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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