#BB8EE4#BB8EE4

#BB8EE4 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.1% C 0.130 H 307.5°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#BB8EE4
RGBrgb(187, 142, 228)
HSLhsl(271, 61%, 73%)
HSVhsv(271, 38%, 89%)
CMYKcmyk(18%, 37.7%, 0%, 10.6%)
CIE-LABlab(66.15, 33.20, -37.26)
CIE-LCHlch(66.15, 49.90, 311.71°)
OKLaboklab(72.14% 0.079 -0.1031)
OKLCHoklch(72.14% 0.13 307.5)
XYZxyz(44.1674, 35.5126, 77.9116)
Luminance0.3551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EE4 #B7E48E
analogous
#908EE4 #BB8EE4 #E48EE2
triadic
#BB8EE4 #E4BB8E #8EE4BB
tetradic
#BB8EE4 #E4908E #B7E48E #8EE2E4
square
#BB8EE4 #E4908E #B7E48E #8EE2E4
split-complementary
#BB8EE4 #E2E48E #8EE490
monochromatic
#7F30C8 #9D5DD8 #BB8EE4 #D9BFF0 #F0E6F9

Accessibility & contrast

On white

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

On black

8.10
#BB8EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EE4
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EE4#FFFFFF#000000##000000
##BB8EE41.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9FE7
Deuteranopia (green-blind)
#86A1E2
Tritanopia (blue-blind)
#B59BAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8ee4;
/* rgb */ color: rgb(187, 142, 228);
/* oklch */ color: oklch(72.1% 0.130 307.5);
Tailwind
colors: {
  custom: {
    50: '#d1afed',
    500: '#bb8ee4',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ee4;
$custom-light: #d1afed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ee4",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 271.395,
    "s": 61.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72144,
    "c": 0.12994,
    "h": 307.5
  },
  "luminance": 0.35512
}

Semantic roles & 50–950 ramp

primary
#BB8EE4
secondary
#E5F0DB
accent
#C91C6F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB8EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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