#BB9AEC#BB9AEC

#BB9AEC is a light, vivid violet. Relative luminance 0.397; OKLCH L 74.6% C 0.120 H 302.1°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#BB9AEC
RGBrgb(187, 154, 236)
HSLhsl(264, 68%, 76%)
HSVhsv(264, 35%, 93%)
CMYKcmyk(20.8%, 34.7%, 0%, 7.5%)
CIE-LABlab(69.28, 28.33, -36.78)
CIE-LCHlch(69.28, 46.42, 307.61°)
OKLaboklab(74.63% 0.0638 -0.1018)
OKLCHoklch(74.63% 0.12 302.1)
XYZxyz(47.1862, 39.7321, 84.5238)
Luminance0.3973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9AEC #CBEC9A
analogous
#9AA2EC #BB9AEC #E49AEC
triadic
#BB9AEC #ECBB9A #9AECBB
tetradic
#BB9AEC #EC9AA2 #CBEC9A #9AECE4
square
#BB9AEC #EC9AA2 #CBEC9A #9AECE4
split-complementary
#BB9AEC #ECE49A #A2EC9A
monochromatic
#7633D9 #9866E2 #BB9AEC #DECEF6 #EEE5FA

Accessibility & contrast

On white

2.35
#BB9AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#BB9AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9AEC
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9AEC#FFFFFF#000000##000000
##BB9AEC1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9EF
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#B3A7B8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb9aec;
/* rgb */ color: rgb(187, 154, 236);
/* oklch */ color: oklch(74.6% 0.120 302.1);
Tailwind
colors: {
  custom: {
    50: '#d0b8f2',
    500: '#bb9aec',
    950: '#000000',
  },
}
SCSS
$custom: #bb9aec;
$custom-light: #d0b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9aec",
  "rgb": {
    "r": 187,
    "g": 154,
    "b": 236
  },
  "hsl": {
    "h": 264.146,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74635,
    "c": 0.12015,
    "h": 302.1
  },
  "luminance": 0.39732
}

Semantic roles & 50–950 ramp

primary
#BB9AEC
secondary
#E8F2D9
accent
#D01585
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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