#BB8EF4#BB8EF4

#BB8EF4 is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.9% C 0.150 H 303.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#BB8EF4
RGBrgb(187, 142, 244)
HSLhsl(266, 82%, 76%)
HSVhsv(266, 42%, 96%)
CMYKcmyk(23.4%, 41.8%, 0%, 4.3%)
CIE-LABlab(66.86, 36.82, -44.95)
CIE-LCHlch(66.86, 58.10, 309.32°)
OKLaboklab(72.91% 0.0821 -0.1253)
OKLCHoklch(72.91% 0.15 303.2)
XYZxyz(46.4922, 36.4425, 90.1552)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EF4 #C7F48E
analogous
#8E94F4 #BB8EF4 #EE8EF4
triadic
#BB8EF4 #F4BB8E #8EF4BB
tetradic
#BB8EF4 #F48E94 #C7F48E #8EF4EE
square
#BB8EF4 #F48E94 #C7F48E #8EF4EE
split-complementary
#BB8EF4 #F4EE8E #94F48E
monochromatic
#781EE9 #9956EF #BB8EF4 #DDC6F9 #EEE3FC

Accessibility & contrast

On white

2.53
#BB8EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#BB8EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EF4
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EF4#FFFFFF#000000##000000
##BB8EF41.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2F8
Deuteranopia (green-blind)
#7EA3F1
Tritanopia (blue-blind)
#B19FB5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8ef4;
/* rgb */ color: rgb(187, 142, 244);
/* oklch */ color: oklch(72.9% 0.150 303.2);
Tailwind
colors: {
  custom: {
    50: '#d1aff8',
    500: '#bb8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ef4;
$custom-light: #d1aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ef4",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 266.471,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72914,
    "c": 0.14982,
    "h": 303.2
  },
  "luminance": 0.36442
}

Semantic roles & 50–950 ramp

primary
#BB8EF4
secondary
#E7F4D7
accent
#DF077F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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