#BB8EE7#BB8EE7

#BB8EE7 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.3% C 0.134 H 306.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#BB8EE7
RGBrgb(187, 142, 231)
HSLhsl(270, 65%, 73%)
HSVhsv(270, 39%, 91%)
CMYKcmyk(19%, 38.5%, 0%, 9.4%)
CIE-LABlab(66.28, 33.87, -38.71)
CIE-LCHlch(66.28, 51.44, 311.18°)
OKLaboklab(72.28% 0.0797 -0.1073)
OKLCHoklch(72.28% 0.134 306.6)
XYZxyz(44.5875, 35.6807, 80.1239)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EE7 #BAE78E
analogous
#8E8EE7 #BB8EE7 #E78EE7
triadic
#BB8EE7 #E7BB8E #8EE7BB
tetradic
#BB8EE7 #E78E8E #BAE78E #8EE7E7
square
#BB8EE7 #E78E8E #BAE78E #8EE7E7
split-complementary
#BB8EE7 #E7E78E #8EE78E
monochromatic
#7E2CCF #9D5CDC #BB8EE7 #D9C0F2 #F0E6FA

Accessibility & contrast

On white

2.58
#BB8EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#BB8EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EE7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EE7#FFFFFF#000000##000000
##BB8EE71.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9FEA
Deuteranopia (green-blind)
#85A2E5
Tritanopia (blue-blind)
#B59CB0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8ee7;
/* rgb */ color: rgb(187, 142, 231);
/* oklch */ color: oklch(72.3% 0.134 306.6);
Tailwind
colors: {
  custom: {
    50: '#d1afef',
    500: '#bb8ee7',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ee7;
$custom-light: #d1afef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ee7",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 270.337,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72284,
    "c": 0.13365,
    "h": 306.6
  },
  "luminance": 0.3568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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