#BB8EEC#BB8EEC

#BB8EEC is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.5% C 0.140 H 305.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#BB8EEC
RGBrgb(187, 142, 236)
HSLhsl(269, 71%, 74%)
HSVhsv(269, 40%, 93%)
CMYKcmyk(20.8%, 39.8%, 0%, 7.5%)
CIE-LABlab(66.49, 34.99, -41.12)
CIE-LCHlch(66.49, 53.99, 310.40°)
OKLaboklab(72.52% 0.0807 -0.1143)
OKLCHoklch(72.52% 0.14 305.2)
XYZxyz(45.3038, 35.9672, 83.8963)
Luminance0.3597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EEC #BFEC8E
analogous
#8E90EC #BB8EEC #EA8EEC
triadic
#BB8EEC #ECBB8E #8EECBB
tetradic
#BB8EEC #EC8E90 #BFEC8E #8EECEA
square
#BB8EEC #EC8E90 #BFEC8E #8EECEA
split-complementary
#BB8EEC #ECEA8E #90EC8E
monochromatic
#7C25DA #9B5AE3 #BB8EEC #DBC2F5 #EFE5FB

Accessibility & contrast

On white

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

On black

8.19
#BB8EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EEC
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EEC#FFFFFF#000000##000000
##BB8EEC1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0F0
Deuteranopia (green-blind)
#82A2E9
Tritanopia (blue-blind)
#B39DB2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8eec;
/* rgb */ color: rgb(187, 142, 236);
/* oklch */ color: oklch(72.5% 0.140 305.2);
Tailwind
colors: {
  custom: {
    50: '#d1aff2',
    500: '#bb8eec',
    950: '#000000',
  },
}
SCSS
$custom: #bb8eec;
$custom-light: #d1aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8eec",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 268.723,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72522,
    "c": 0.13986,
    "h": 305.2
  },
  "luminance": 0.35967
}

Semantic roles & 50–950 ramp

primary
#BB8EEC
secondary
#E6F2D9
accent
#D31277
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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