#BB8DEC#BB8DEC

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

Color values

HEX#BB8DEC
RGBrgb(187, 141, 236)
HSLhsl(269, 71%, 74%)
HSVhsv(269, 40%, 93%)
CMYKcmyk(20.8%, 40.3%, 0%, 7.5%)
CIE-LABlab(66.27, 35.54, -41.48)
CIE-LCHlch(66.27, 54.62, 310.60°)
OKLaboklab(72.35% 0.0821 -0.1153)
OKLCHoklch(72.35% 0.142 305.4)
XYZxyz(45.1556, 35.6709, 83.8469)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8DEC #BEEC8D
analogous
#8D8FEC #BB8DEC #EB8DEC
triadic
#BB8DEC #ECBB8D #8DECBB
tetradic
#BB8DEC #EC8D8F #BEEC8D #8DECEB
square
#BB8DEC #EC8D8F #BEEC8D #8DECEB
split-complementary
#BB8DEC #ECEB8D #8FEC8D
monochromatic
#7C24DA #9C59E3 #BB8DEC #DAC1F5 #EFE5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB8DEC#FFFFFF#000000##000000
##BB8DEC1.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)
#77A0F0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#B39CB1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8dec;
/* rgb */ color: rgb(187, 141, 236);
/* oklch */ color: oklch(72.4% 0.142 305.4);
Tailwind
colors: {
  custom: {
    50: '#d1aff2',
    500: '#bb8dec',
    950: '#000000',
  },
}
SCSS
$custom: #bb8dec;
$custom-light: #d1aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8dec",
  "rgb": {
    "r": 187,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 269.053,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72351,
    "c": 0.14151,
    "h": 305.4
  },
  "luminance": 0.35671
}

Semantic roles & 50–950 ramp

primary
#BB8DEC
secondary
#E6F2D9
accent
#D31276
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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