#BB8BE2#BB8BE2

#BB8BE2 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.5% C 0.133 H 308.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#BB8BE2
RGBrgb(187, 139, 226)
HSLhsl(273, 60%, 72%)
HSVhsv(273, 38%, 89%)
CMYKcmyk(17.3%, 38.5%, 0%, 11.4%)
CIE-LABlab(65.37, 34.42, -37.35)
CIE-LCHlch(65.37, 50.79, 312.66°)
OKLaboklab(71.53% 0.0829 -0.1034)
OKLCHoklch(71.53% 0.133 308.7)
XYZxyz(43.4510, 34.5215, 76.3111)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BE2 #B2E28B
analogous
#908BE2 #BB8BE2 #E28BDE
triadic
#BB8BE2 #E2BB8B #8BE2BB
tetradic
#BB8BE2 #E2908B #B2E28B #8BDEE2
square
#BB8BE2 #E2908B #B2E28B #8BDEE2
split-complementary
#BB8BE2 #DEE28B #8BE290
monochromatic
#8131C2 #9E5AD6 #BB8BE2 #D8BCEE #F1E7F9

Accessibility & contrast

On white

2.66
#BB8BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#BB8BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BE2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BE2#FFFFFF#000000##000000
##BB8BE21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE5
Deuteranopia (green-blind)
#849FE0
Tritanopia (blue-blind)
#B698AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb8be2;
/* rgb */ color: rgb(187, 139, 226);
/* oklch */ color: oklch(71.5% 0.133 308.7);
Tailwind
colors: {
  custom: {
    50: '#d1adeb',
    500: '#bb8be2',
    950: '#000000',
  },
}
SCSS
$custom: #bb8be2;
$custom-light: #d1adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8be2",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 273.103,
    "s": 60,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71532,
    "c": 0.13253,
    "h": 308.7
  },
  "luminance": 0.34521
}

Semantic roles & 50–950 ramp

primary
#BB8BE2
secondary
#E3F0D9
accent
#C81E6A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB8BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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