#BB8AE2#BB8AE2

#BB8AE2 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.4% C 0.134 H 308.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#BB8AE2
RGBrgb(187, 138, 226)
HSLhsl(273, 60%, 71%)
HSVhsv(273, 39%, 89%)
CMYKcmyk(17.3%, 38.9%, 0%, 11.4%)
CIE-LABlab(65.15, 34.98, -37.71)
CIE-LCHlch(65.15, 51.43, 312.85°)
OKLaboklab(71.36% 0.0843 -0.1044)
OKLCHoklch(71.36% 0.134 308.9)
XYZxyz(43.3069, 34.2332, 76.2630)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8AE2 #B1E28A
analogous
#8F8AE2 #BB8AE2 #E28ADD
triadic
#BB8AE2 #E2BB8A #8AE2BB
tetradic
#BB8AE2 #E28F8A #B1E28A #8ADDE2
square
#BB8AE2 #E28F8A #B1E28A #8ADDE2
split-complementary
#BB8AE2 #DDE28A #8AE28F
monochromatic
#8130C2 #9E59D6 #BB8AE2 #D8BBEE #F1E6F9

Accessibility & contrast

On white

2.68
#BB8AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#BB8AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8AE2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8AE2#FFFFFF#000000##000000
##BB8AE21.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#839FE0
Tritanopia (blue-blind)
#B697AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb8ae2;
/* rgb */ color: rgb(187, 138, 226);
/* oklch */ color: oklch(71.4% 0.134 308.9);
Tailwind
colors: {
  custom: {
    50: '#d1adeb',
    500: '#bb8ae2',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ae2;
$custom-light: #d1adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ae2",
  "rgb": {
    "r": 187,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 273.409,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7136,
    "c": 0.1342,
    "h": 308.9
  },
  "luminance": 0.34233
}

Semantic roles & 50–950 ramp

primary
#BB8AE2
secondary
#E3EFD8
accent
#C81E69
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB8AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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