#BB8EF9#BB8EF9

#BB8EF9 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.2% C 0.156 H 302.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#BB8EF9
RGBrgb(187, 142, 249)
HSLhsl(265, 90%, 77%)
HSVhsv(265, 43%, 98%)
CMYKcmyk(24.9%, 43%, 0%, 2.4%)
CIE-LABlab(67.09, 37.98, -47.32)
CIE-LCHlch(67.09, 60.67, 308.75°)
OKLaboklab(73.17% 0.0829 -0.1322)
OKLCHoklch(73.17% 0.156 302.1)
XYZxyz(47.2616, 36.7503, 94.2078)
Luminance0.3675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EF9 #CCF98E
analogous
#8E97F9 #BB8EF9 #F18EF9
triadic
#BB8EF9 #F9BB8E #8EF9BB
tetradic
#BB8EF9 #F98E97 #CCF98E #8EF9F1
square
#BB8EF9 #F98E97 #CCF98E #8EF9F1
split-complementary
#BB8EF9 #F9F18E #97F98E
monochromatic
#751AF3 #9854F6 #BB8EF9 #DEC8FC #EEE2FD

Accessibility & contrast

On white

2.51
#BB8EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#BB8EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EF9
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EF9#FFFFFF#000000##000000
##BB8EF91.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FD
Deuteranopia (green-blind)
#7BA3F6
Tritanopia (blue-blind)
#B0A0B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8ef9;
/* rgb */ color: rgb(187, 142, 249);
/* oklch */ color: oklch(73.2% 0.156 302.1);
Tailwind
colors: {
  custom: {
    50: '#d1b0fb',
    500: '#bb8ef9',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ef9;
$custom-light: #d1b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ef9",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 265.234,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73165,
    "c": 0.15606,
    "h": 302.1
  },
  "luminance": 0.3675
}

Semantic roles & 50–950 ramp

primary
#BB8EF9
secondary
#E8F6D5
accent
#E60085
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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