#BB8EFC#BB8EFC

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

Color values

HEX#BB8EFC
RGBrgb(187, 142, 252)
HSLhsl(265, 95%, 77%)
HSVhsv(265, 44%, 99%)
CMYKcmyk(25.8%, 43.7%, 0%, 1.2%)
CIE-LABlab(67.23, 38.68, -48.74)
CIE-LCHlch(67.23, 62.22, 308.44°)
OKLaboklab(73.32% 0.0834 -0.1363)
OKLCHoklch(73.32% 0.16 301.4)
XYZxyz(47.7333, 36.9390, 96.6918)
Luminance0.3694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EFC #CFFC8E
analogous
#8E98FC #BB8EFC #F28EFC
triadic
#BB8EFC #FCBB8E #8EFCBB
tetradic
#BB8EFC #FC8E98 #CFFC8E #8EFCF2
square
#BB8EFC #FC8E98 #CFFC8E #8EFCF2
split-complementary
#BB8EFC #FCF28E #98FC8E
monochromatic
#7317F9 #9752FA #BB8EFC #DFCAFE #EDE1FE

Accessibility & contrast

On white

2.50
#BB8EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#BB8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EFC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EFC#FFFFFF#000000##000000
##BB8EFC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb8efc;
/* rgb */ color: rgb(187, 142, 252);
/* oklch */ color: oklch(73.3% 0.160 301.4);
Tailwind
colors: {
  custom: {
    50: '#d2b0fe',
    500: '#bb8efc',
    950: '#000000',
  },
}
SCSS
$custom: #bb8efc;
$custom-light: #d2b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8efc",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 264.545,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73318,
    "c": 0.15979,
    "h": 301.4
  },
  "luminance": 0.36939
}

Semantic roles & 50–950 ramp

primary
#BB8EFC
secondary
#E9F6D5
accent
#E60088
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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