#BB8CF5#BB8CF5

#BB8CF5 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.6% C 0.154 H 303.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#BB8CF5
RGBrgb(187, 140, 245)
HSLhsl(267, 84%, 75%)
HSVhsv(267, 43%, 96%)
CMYKcmyk(23.7%, 42.9%, 0%, 3.9%)
CIE-LABlab(66.45, 38.15, -46.13)
CIE-LCHlch(66.45, 59.86, 309.59°)
OKLaboklab(72.63% 0.085 -0.1287)
OKLCHoklch(72.63% 0.154 303.4)
XYZxyz(46.3495, 35.9136, 90.8587)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CF5 #C6F58C
analogous
#8C91F5 #BB8CF5 #EF8CF5
triadic
#BB8CF5 #F5BB8C #8CF5BB
tetradic
#BB8CF5 #F58C91 #C6F58C #8CF5EF
square
#BB8CF5 #F58C91 #C6F58C #8CF5EF
split-complementary
#BB8CF5 #F5EF8C #91F58C
monochromatic
#781BEB #9A54F0 #BB8CF5 #DCC4FA #EEE3FD

Accessibility & contrast

On white

2.57
#BB8CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#BB8CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CF5
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CF5#FFFFFF#000000##000000
##BB8CF51.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F9
Deuteranopia (green-blind)
#7CA1F2
Tritanopia (blue-blind)
#B19EB5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8cf5;
/* rgb */ color: rgb(187, 140, 245);
/* oklch */ color: oklch(72.6% 0.154 303.4);
Tailwind
colors: {
  custom: {
    50: '#d1aef9',
    500: '#bb8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cf5;
$custom-light: #d1aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cf5",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 266.857,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72626,
    "c": 0.15427,
    "h": 303.4
  },
  "luminance": 0.35914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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