#BB8EEA#BB8EEA

#BB8EEA is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.4% C 0.137 H 305.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#BB8EEA
RGBrgb(187, 142, 234)
HSLhsl(269, 69%, 74%)
HSVhsv(269, 39%, 92%)
CMYKcmyk(20.1%, 39.3%, 0%, 8.2%)
CIE-LABlab(66.41, 34.54, -40.16)
CIE-LCHlch(66.41, 52.97, 310.70°)
OKLaboklab(72.43% 0.0803 -0.1115)
OKLCHoklch(72.43% 0.137 305.7)
XYZxyz(45.0148, 35.8516, 82.3746)
Luminance0.3585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EEA #BDEA8E
analogous
#8E8FEA #BB8EEA #E98EEA
triadic
#BB8EEA #EABB8E #8EEABB
tetradic
#BB8EEA #EA8E8F #BDEA8E #8EEAE9
square
#BB8EEA #EA8E8F #BDEA8E #8EEAE9
split-complementary
#BB8EEA #EAE98E #8FEA8E
monochromatic
#7D28D6 #9C5AE0 #BB8EEA #DAC2F4 #EFE5FA

Accessibility & contrast

On white

2.57
#BB8EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#BB8EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EEA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EEA#FFFFFF#000000##000000
##BB8EEA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0ED
Deuteranopia (green-blind)
#83A2E7
Tritanopia (blue-blind)
#B49CB1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8eea;
/* rgb */ color: rgb(187, 142, 234);
/* oklch */ color: oklch(72.4% 0.137 305.7);
Tailwind
colors: {
  custom: {
    50: '#d1aff1',
    500: '#bb8eea',
    950: '#000000',
  },
}
SCSS
$custom: #bb8eea;
$custom-light: #d1aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8eea",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 269.348,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72427,
    "c": 0.13737,
    "h": 305.7
  },
  "luminance": 0.35851
}

Semantic roles & 50–950 ramp

primary
#BB8EEA
secondary
#E6F2D9
accent
#D11575
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #BB8EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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