#BB8CF9#BB8CF9

#BB8CF9 is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.8% C 0.159 H 302.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#BB8CF9
RGBrgb(187, 140, 249)
HSLhsl(266, 90%, 76%)
HSVhsv(266, 44%, 98%)
CMYKcmyk(24.9%, 43.8%, 0%, 2.4%)
CIE-LABlab(66.64, 39.08, -48.02)
CIE-LCHlch(66.64, 61.91, 309.13°)
OKLaboklab(72.83% 0.0856 -0.1342)
OKLCHoklch(72.83% 0.159 302.5)
XYZxyz(46.9667, 36.1605, 94.1095)
Luminance0.3616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CF9 #CAF98C
analogous
#8C94F9 #BB8CF9 #F28CF9
triadic
#BB8CF9 #F9BB8C #8CF9BB
tetradic
#BB8CF9 #F98C94 #CAF98C #8CF9F2
square
#BB8CF9 #F98C94 #CAF98C #8CF9F2
split-complementary
#BB8CF9 #F9F28C #94F98C
monochromatic
#7618F3 #9952F6 #BB8CF9 #DDC6FC #EEE2FD

Accessibility & contrast

On white

2.55
#BB8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#BB8CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CF9
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CF9#FFFFFF#000000##000000
##BB8CF91.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FD
Deuteranopia (green-blind)
#79A2F6
Tritanopia (blue-blind)
#B09FB7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8cf9;
/* rgb */ color: rgb(187, 140, 249);
/* oklch */ color: oklch(72.8% 0.159 302.5);
Tailwind
colors: {
  custom: {
    50: '#d1aefc',
    500: '#bb8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cf9;
$custom-light: #d1aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cf9",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 265.872,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72829,
    "c": 0.15922,
    "h": 302.5
  },
  "luminance": 0.36161
}

Semantic roles & 50–950 ramp

primary
#BB8CF9
secondary
#E8F6D5
accent
#E60083
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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