#BB8CE2#BB8CE2

#BB8CE2 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.7% C 0.131 H 308.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#BB8CE2
RGBrgb(187, 140, 226)
HSLhsl(273, 60%, 72%)
HSVhsv(273, 38%, 89%)
CMYKcmyk(17.3%, 38.1%, 0%, 11.4%)
CIE-LABlab(65.60, 33.87, -37.00)
CIE-LCHlch(65.60, 50.16, 312.47°)
OKLaboklab(71.7% 0.0815 -0.1024)
OKLCHoklch(71.7% 0.131 308.5)
XYZxyz(43.5965, 34.8124, 76.3595)
Luminance0.3481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CE2 #B3E28C
analogous
#908CE2 #BB8CE2 #E28CDE
triadic
#BB8CE2 #E2BB8C #8CE2BB
tetradic
#BB8CE2 #E2908C #B3E28C #8CDEE2
square
#BB8CE2 #E2908C #B3E28C #8CDEE2
split-complementary
#BB8CE2 #DEE28C #8CE290
monochromatic
#8131C3 #9E5BD6 #BB8CE2 #D8BDEE #F1E7F9

Accessibility & contrast

On white

2.64
#BB8CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#BB8CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CE2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CE2#FFFFFF#000000##000000
##BB8CE21.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9DE5
Deuteranopia (green-blind)
#85A0E0
Tritanopia (blue-blind)
#B699AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb8ce2;
/* rgb */ color: rgb(187, 140, 226);
/* oklch */ color: oklch(71.7% 0.131 308.5);
Tailwind
colors: {
  custom: {
    50: '#d1aeeb',
    500: '#bb8ce2',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ce2;
$custom-light: #d1aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ce2",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 272.791,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71704,
    "c": 0.13084,
    "h": 308.5
  },
  "luminance": 0.34812
}

Semantic roles & 50–950 ramp

primary
#BB8CE2
secondary
#E4F0DA
accent
#C71E6B
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB8CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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