#BB8EFA#BB8EFA

#BB8EFA is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.2% C 0.157 H 301.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#BB8EFA
RGBrgb(187, 142, 250)
HSLhsl(265, 92%, 77%)
HSVhsv(265, 43%, 98%)
CMYKcmyk(25.2%, 43.2%, 0%, 2%)
CIE-LABlab(67.14, 38.21, -47.79)
CIE-LCHlch(67.14, 61.19, 308.64°)
OKLaboklab(73.22% 0.0831 -0.1336)
OKLCHoklch(73.22% 0.157 301.9)
XYZxyz(47.4180, 36.8129, 95.0314)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EFA #CDFA8E
analogous
#8E97FA #BB8EFA #F18EFA
triadic
#BB8EFA #FABB8E #8EFABB
tetradic
#BB8EFA #FA8E97 #CDFA8E #8EFAF1
square
#BB8EFA #FA8E97 #CDFA8E #8EFAF1
split-complementary
#BB8EFA #FAF18E #97FA8E
monochromatic
#7419F5 #9853F7 #BB8EFA #DEC9FD #EDE2FE

Accessibility & contrast

On white

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

On black

8.36
#BB8EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EFA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EFA#FFFFFF#000000##000000
##BB8EFA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb8efa;
/* rgb */ color: rgb(187, 142, 250);
/* oklch */ color: oklch(73.2% 0.157 301.9);
Tailwind
colors: {
  custom: {
    50: '#d1b0fc',
    500: '#bb8efa',
    950: '#000000',
  },
}
SCSS
$custom: #bb8efa;
$custom-light: #d1b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8efa",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 265,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73216,
    "c": 0.1573,
    "h": 301.9
  },
  "luminance": 0.36813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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