#BB8EF6#BB8EF6

#BB8EF6 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.0% C 0.152 H 302.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#BB8EF6
RGBrgb(187, 142, 246)
HSLhsl(266, 85%, 76%)
HSVhsv(266, 42%, 96%)
CMYKcmyk(24%, 42.3%, 0%, 3.5%)
CIE-LABlab(66.95, 37.28, -45.90)
CIE-LCHlch(66.95, 59.13, 309.08°)
OKLaboklab(73.01% 0.0824 -0.1281)
OKLCHoklch(73.01% 0.152 302.8)
XYZxyz(46.7975, 36.5646, 91.7632)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EF6 #C9F68E
analogous
#8E95F6 #BB8EF6 #EF8EF6
triadic
#BB8EF6 #F6BB8E #8EF6BB
tetradic
#BB8EF6 #F68E95 #C9F68E #8EF6EF
square
#BB8EF6 #F68E95 #C9F68E #8EF6EF
split-complementary
#BB8EF6 #F6EF8E #95F68E
monochromatic
#771DED #9955F1 #BB8EF6 #DDC7FB #EEE3FD

Accessibility & contrast

On white

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

On black

8.31
#BB8EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EF6
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EF6#FFFFFF#000000##000000
##BB8EF61.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FA
Deuteranopia (green-blind)
#7DA3F3
Tritanopia (blue-blind)
#B19FB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8ef6;
/* rgb */ color: rgb(187, 142, 246);
/* oklch */ color: oklch(73.0% 0.152 302.8);
Tailwind
colors: {
  custom: {
    50: '#d1b0f9',
    500: '#bb8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ef6;
$custom-light: #d1b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ef6",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 265.962,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73014,
    "c": 0.15232,
    "h": 302.8
  },
  "luminance": 0.36565
}

Semantic roles & 50–950 ramp

primary
#BB8EF6
secondary
#E8F5D6
accent
#E20482
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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