#BB8BEA#BB8BEA

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

Color values

HEX#BB8BEA
RGBrgb(187, 139, 234)
HSLhsl(270, 69%, 73%)
HSVhsv(270, 41%, 92%)
CMYKcmyk(20.1%, 40.6%, 0%, 8.2%)
CIE-LABlab(65.73, 36.20, -41.22)
CIE-LCHlch(65.73, 54.86, 311.29°)
OKLaboklab(71.91% 0.0845 -0.1145)
OKLCHoklch(71.91% 0.142 306.4)
XYZxyz(44.5745, 34.9709, 82.2278)
Luminance0.3497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BEA #BAEA8B
analogous
#8B8BEA #BB8BEA #EA8BE9
triadic
#BB8BEA #EABB8B #8BEABB
tetradic
#BB8BEA #EA8B8B #BAEA8B #8BE9EA
square
#BB8BEA #EA8B8B #BAEA8B #8BE9EA
split-complementary
#BB8BEA #E9EA8B #8BEA8B
monochromatic
#7E26D4 #9D57E1 #BB8BEA #D9BFF3 #F0E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB8BEA#FFFFFF#000000##000000
##BB8BEA1.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)
#759EEE
Deuteranopia (green-blind)
#80A0E7
Tritanopia (blue-blind)
#B49AAF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8bea;
/* rgb */ color: rgb(187, 139, 234);
/* oklch */ color: oklch(71.9% 0.142 306.4);
Tailwind
colors: {
  custom: {
    50: '#d1adf1',
    500: '#bb8bea',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bea;
$custom-light: #d1adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bea",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 270.316,
    "s": 69.343,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71913,
    "c": 0.14233,
    "h": 306.4
  },
  "luminance": 0.34971
}

Semantic roles & 50–950 ramp

primary
#BB8BEA
secondary
#E5F2D9
accent
#D11472
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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