#BB8EFB#BB8EFB

#BB8EFB is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.3% C 0.159 H 301.7°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#BB8EFB
RGBrgb(187, 142, 251)
HSLhsl(265, 93%, 77%)
HSVhsv(265, 43%, 98%)
CMYKcmyk(25.5%, 43.4%, 0%, 1.6%)
CIE-LABlab(67.18, 38.44, -48.26)
CIE-LCHlch(67.18, 61.70, 308.54°)
OKLaboklab(73.27% 0.0832 -0.1349)
OKLCHoklch(73.27% 0.159 301.7)
XYZxyz(47.5752, 36.8758, 95.8594)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EFB #CEFB8E
analogous
#8E98FB #BB8EFB #F28EFB
triadic
#BB8EFB #FBBB8E #8EFBBB
tetradic
#BB8EFB #FB8E98 #CEFB8E #8EFBF2
square
#BB8EFB #FB8E98 #CEFB8E #8EFBF2
split-complementary
#BB8EFB #FBF28E #98FB8E
monochromatic
#7418F7 #9753F9 #BB8EFB #DFC9FD #EDE1FE

Accessibility & contrast

On white

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

On black

8.38
#BB8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EFB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EFB#FFFFFF#000000##000000
##BB8EFB1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#AFA1B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb8efb;
/* rgb */ color: rgb(187, 142, 251);
/* oklch */ color: oklch(73.3% 0.159 301.7);
Tailwind
colors: {
  custom: {
    50: '#d1b0fd',
    500: '#bb8efb',
    950: '#000000',
  },
}
SCSS
$custom: #bb8efb;
$custom-light: #d1b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8efb",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 264.771,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73267,
    "c": 0.15855,
    "h": 301.7
  },
  "luminance": 0.36876
}

Semantic roles & 50–950 ramp

primary
#BB8EFB
secondary
#E8F6D5
accent
#E60087
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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