#BB8CF1#BB8CF1

#BB8CF1 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.4% C 0.149 H 304.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#BB8CF1
RGBrgb(187, 140, 241)
HSLhsl(268, 78%, 75%)
HSVhsv(268, 42%, 95%)
CMYKcmyk(22.4%, 41.9%, 0%, 5.5%)
CIE-LABlab(66.27, 37.23, -44.23)
CIE-LCHlch(66.27, 57.81, 310.09°)
OKLaboklab(72.43% 0.0843 -0.1232)
OKLCHoklch(72.43% 0.149 304.4)
XYZxyz(45.7455, 35.6720, 87.6775)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CF1 #C2F18C
analogous
#8C8FF1 #BB8CF1 #EE8CF1
triadic
#BB8CF1 #F1BB8C #8CF1BB
tetradic
#BB8CF1 #F18C8F #C2F18C #8CF1EE
square
#BB8CF1 #F18C8F #C2F18C #8CF1EE
split-complementary
#BB8CF1 #F1EE8C #8FF18C
monochromatic
#7A1FE4 #9B55EA #BB8CF1 #DBC3F8 #EFE4FC

Accessibility & contrast

On white

2.58
#BB8CF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#BB8CF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CF1
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CF1#FFFFFF#000000##000000
##BB8CF11.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F5
Deuteranopia (green-blind)
#7EA1EE
Tritanopia (blue-blind)
#B29DB3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8cf1;
/* rgb */ color: rgb(187, 140, 241);
/* oklch */ color: oklch(72.4% 0.149 304.4);
Tailwind
colors: {
  custom: {
    50: '#d1aef6',
    500: '#bb8cf1',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cf1;
$custom-light: #d1aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cf1",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 267.921,
    "s": 78.295,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72426,
    "c": 0.14932,
    "h": 304.4
  },
  "luminance": 0.35672
}

Semantic roles & 50–950 ramp

primary
#BB8CF1
secondary
#E6F3D8
accent
#DB0B7A
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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