#BB8EE5#BB8EE5

#BB8EE5 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.2% C 0.131 H 307.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#BB8EE5
RGBrgb(187, 142, 229)
HSLhsl(271, 63%, 73%)
HSVhsv(271, 38%, 90%)
CMYKcmyk(18.3%, 38%, 0%, 10.2%)
CIE-LABlab(66.19, 33.42, -37.74)
CIE-LCHlch(66.19, 50.41, 311.53°)
OKLaboklab(72.19% 0.0793 -0.1045)
OKLCHoklch(72.19% 0.131 307.2)
XYZxyz(44.3066, 35.5683, 78.6448)
Luminance0.3557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EE5 #B8E58E
analogous
#8F8EE5 #BB8EE5 #E58EE4
triadic
#BB8EE5 #E5BB8E #8EE5BB
tetradic
#BB8EE5 #E58F8E #B8E58E #8EE4E5
square
#BB8EE5 #E58F8E #B8E58E #8EE4E5
split-complementary
#BB8EE5 #E4E58E #8EE58F
monochromatic
#7F2FCA #9D5CDA #BB8EE5 #D9C0F0 #F0E6F9

Accessibility & contrast

On white

2.59
#BB8EE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#BB8EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EE5
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EE5#FFFFFF#000000##000000
##BB8EE51.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9FE8
Deuteranopia (green-blind)
#86A1E3
Tritanopia (blue-blind)
#B59BAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8ee5;
/* rgb */ color: rgb(187, 142, 229);
/* oklch */ color: oklch(72.2% 0.131 307.2);
Tailwind
colors: {
  custom: {
    50: '#d1afed',
    500: '#bb8ee5',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ee5;
$custom-light: #d1afed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ee5",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 229
  },
  "hsl": {
    "h": 271.034,
    "s": 62.59,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7219,
    "c": 0.13117,
    "h": 307.2
  },
  "luminance": 0.35568
}

Semantic roles & 50–950 ramp

primary
#BB8EE5
secondary
#E5F1DA
accent
#CA1B70
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB8EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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