#BB8EEE#BB8EEE

#BB8EEE is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.6% C 0.142 H 304.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BB8EEE
RGBrgb(187, 142, 238)
HSLhsl(268, 74%, 75%)
HSVhsv(268, 40%, 93%)
CMYKcmyk(21.4%, 40.3%, 0%, 6.7%)
CIE-LABlab(66.58, 35.44, -42.08)
CIE-LCHlch(66.58, 55.02, 310.11°)
OKLaboklab(72.62% 0.081 -0.117)
OKLCHoklch(72.62% 0.142 304.7)
XYZxyz(45.5959, 36.0840, 85.4352)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EEE #C1EE8E
analogous
#8E91EE #BB8EEE #EB8EEE
triadic
#BB8EEE #EEBB8E #8EEEBB
tetradic
#BB8EEE #EE8E91 #C1EE8E #8EEEEB
square
#BB8EEE #EE8E91 #C1EE8E #8EEEEB
split-complementary
#BB8EEE #EEEB8E #91EE8E
monochromatic
#7B24DE #9B59E6 #BB8EEE #DBC3F6 #EFE4FB

Accessibility & contrast

On white

2.56
#BB8EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#BB8EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EEE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EEE#FFFFFF#000000##000000
##BB8EEE1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F2
Deuteranopia (green-blind)
#81A2EB
Tritanopia (blue-blind)
#B39DB3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8eee;
/* rgb */ color: rgb(187, 142, 238);
/* oklch */ color: oklch(72.6% 0.142 304.7);
Tailwind
colors: {
  custom: {
    50: '#d1aff4',
    500: '#bb8eee',
    950: '#000000',
  },
}
SCSS
$custom: #bb8eee;
$custom-light: #d1aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8eee",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 268.125,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72619,
    "c": 0.14235,
    "h": 304.7
  },
  "luminance": 0.36084
}

Semantic roles & 50–950 ramp

primary
#BB8EEE
secondary
#E6F3D8
accent
#D61079
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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