#BB8EF8#BB8EF8

#BB8EF8 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.1% C 0.155 H 302.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#BB8EF8
RGBrgb(187, 142, 248)
HSLhsl(265, 88%, 76%)
HSVhsv(265, 43%, 97%)
CMYKcmyk(24.6%, 42.7%, 0%, 2.7%)
CIE-LABlab(67.04, 37.74, -46.85)
CIE-LCHlch(67.04, 60.16, 308.86°)
OKLaboklab(73.11% 0.0828 -0.1308)
OKLCHoklch(73.11% 0.155 302.3)
XYZxyz(47.1061, 36.6881, 93.3886)
Luminance0.3669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EF8 #CBF88E
analogous
#8E96F8 #BB8EF8 #F08EF8
triadic
#BB8EF8 #F8BB8E #8EF8BB
tetradic
#BB8EF8 #F88E96 #CBF88E #8EF8F0
square
#BB8EF8 #F88E96 #CBF88E #8EF8F0
split-complementary
#BB8EF8 #F8F08E #96F88E
monochromatic
#761BF1 #9854F4 #BB8EF8 #DEC8FC #EEE2FD

Accessibility & contrast

On white

2.52
#BB8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#BB8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EF8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EF8#FFFFFF#000000##000000
##BB8EF81.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FC
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#B0A0B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8ef8;
/* rgb */ color: rgb(187, 142, 248);
/* oklch */ color: oklch(73.1% 0.155 302.3);
Tailwind
colors: {
  custom: {
    50: '#d1b0fb',
    500: '#bb8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ef8;
$custom-light: #d1b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ef8",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 265.472,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73115,
    "c": 0.15481,
    "h": 302.3
  },
  "luminance": 0.36688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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