#BB8EF5#BB8EF5

#BB8EF5 is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.0% C 0.151 H 303.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#BB8EF5
RGBrgb(187, 142, 245)
HSLhsl(266, 84%, 76%)
HSVhsv(266, 42%, 96%)
CMYKcmyk(23.7%, 42%, 0%, 3.9%)
CIE-LABlab(66.90, 37.05, -45.42)
CIE-LCHlch(66.90, 58.62, 309.20°)
OKLaboklab(72.96% 0.0823 -0.1267)
OKLCHoklch(72.96% 0.151 303)
XYZxyz(46.6444, 36.5034, 90.9570)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EF5 #C8F58E
analogous
#8E94F5 #BB8EF5 #EF8EF5
triadic
#BB8EF5 #F5BB8E #8EF5BB
tetradic
#BB8EF5 #F58E94 #C8F58E #8EF5EF
square
#BB8EF5 #F58E94 #C8F58E #8EF5EF
split-complementary
#BB8EF5 #F5EF8E #94F58E
monochromatic
#771EEB #9956F0 #BB8EF5 #DDC6FA #EEE3FD

Accessibility & contrast

On white

2.53
#BB8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#BB8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EF5
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EF5#FFFFFF#000000##000000
##BB8EF51.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2F9
Deuteranopia (green-blind)
#7EA3F2
Tritanopia (blue-blind)
#B19FB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8ef5;
/* rgb */ color: rgb(187, 142, 245);
/* oklch */ color: oklch(73.0% 0.151 303.0);
Tailwind
colors: {
  custom: {
    50: '#d1aff9',
    500: '#bb8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ef5;
$custom-light: #d1aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ef5",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 266.214,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72964,
    "c": 0.15107,
    "h": 303
  },
  "luminance": 0.36503
}

Semantic roles & 50–950 ramp

primary
#BB8EF5
secondary
#E7F4D7
accent
#E00581
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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