#BB8EEB#BB8EEB

#BB8EEB is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.5% C 0.139 H 305.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#BB8EEB
RGBrgb(187, 142, 235)
HSLhsl(269, 70%, 74%)
HSVhsv(269, 40%, 92%)
CMYKcmyk(20.4%, 39.6%, 0%, 7.8%)
CIE-LABlab(66.45, 34.77, -40.64)
CIE-LCHlch(66.45, 53.48, 310.55°)
OKLaboklab(72.47% 0.0805 -0.1129)
OKLCHoklch(72.47% 0.139 305.5)
XYZxyz(45.1589, 35.9092, 83.1333)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EEB #BEEB8E
analogous
#8E90EB #BB8EEB #EA8EEB
triadic
#BB8EEB #EBBB8E #8EEBBB
tetradic
#BB8EEB #EB8E90 #BEEB8E #8EEBEA
square
#BB8EEB #EB8E90 #BEEB8E #8EEBEA
split-complementary
#BB8EEB #EBEA8E #90EB8E
monochromatic
#7C26D8 #9C5AE2 #BB8EEB #DAC2F4 #EFE5FA

Accessibility & contrast

On white

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

On black

8.18
#BB8EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EEB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EEB#FFFFFF#000000##000000
##BB8EEB1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#B49DB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8eeb;
/* rgb */ color: rgb(187, 142, 235);
/* oklch */ color: oklch(72.5% 0.139 305.5);
Tailwind
colors: {
  custom: {
    50: '#d1aff2',
    500: '#bb8eeb',
    950: '#000000',
  },
}
SCSS
$custom: #bb8eeb;
$custom-light: #d1aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8eeb",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 269.032,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72474,
    "c": 0.13862,
    "h": 305.5
  },
  "luminance": 0.35909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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