#BB8AEF#BB8AEF

#BB8AEF is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.0% C 0.150 H 305.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#BB8AEF
RGBrgb(187, 138, 239)
HSLhsl(269, 76%, 74%)
HSVhsv(269, 42%, 94%)
CMYKcmyk(21.8%, 42.3%, 0%, 6.3%)
CIE-LABlab(65.73, 37.88, -43.97)
CIE-LCHlch(65.73, 58.04, 310.74°)
OKLaboklab(71.99% 0.0867 -0.1225)
OKLCHoklch(71.99% 0.15 305.3)
XYZxyz(45.1588, 34.9740, 86.0162)
Luminance0.3497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8AEF #BEEF8A
analogous
#8A8CEF #BB8AEF #EE8AEF
triadic
#BB8AEF #EFBB8A #8AEFBB
tetradic
#BB8AEF #EF8A8C #BEEF8A #8AEFEE
square
#BB8AEF #EF8A8C #BEEF8A #8AEFEE
split-complementary
#BB8AEF #EFEE8A #8CEF8A
monochromatic
#7C1FE0 #9C54E8 #BB8AEF #DAC0F6 #EFE4FB

Accessibility & contrast

On white

2.63
#BB8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#BB8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8AEF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8AEF#FFFFFF#000000##000000
##BB8AEF1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#B39AB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8aef;
/* rgb */ color: rgb(187, 138, 239);
/* oklch */ color: oklch(72.0% 0.150 305.3);
Tailwind
colors: {
  custom: {
    50: '#d1adf4',
    500: '#bb8aef',
    950: '#000000',
  },
}
SCSS
$custom: #bb8aef;
$custom-light: #d1adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8aef",
  "rgb": {
    "r": 187,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 269.109,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71989,
    "c": 0.1501,
    "h": 305.3
  },
  "luminance": 0.34974
}

Semantic roles & 50–950 ramp

primary
#BB8AEF
secondary
#E6F3D8
accent
#D80D76
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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