#BB8BE4#BB8BE4

#BB8BE4 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.6% C 0.135 H 308.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#BB8BE4
RGBrgb(187, 139, 228)
HSLhsl(272, 62%, 72%)
HSVhsv(272, 39%, 89%)
CMYKcmyk(18%, 39%, 0%, 10.6%)
CIE-LABlab(65.46, 34.86, -38.32)
CIE-LCHlch(65.46, 51.81, 312.29°)
OKLaboklab(71.63% 0.0833 -0.1062)
OKLCHoklch(71.63% 0.135 308.1)
XYZxyz(43.7271, 34.6319, 77.7648)
Luminance0.3463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BE4 #B4E48B
analogous
#8F8BE4 #BB8BE4 #E48BE0
triadic
#BB8BE4 #E4BB8B #8BE4BB
tetradic
#BB8BE4 #E48F8B #B4E48B #8BE0E4
square
#BB8BE4 #E48F8B #B4E48B #8BE0E4
split-complementary
#BB8BE4 #E0E48B #8BE48F
monochromatic
#802EC6 #9E59D8 #BB8BE4 #D8BDF0 #F0E6F9

Accessibility & contrast

On white

2.65
#BB8BE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#BB8BE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BE4
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BE4#FFFFFF#000000##000000
##BB8BE41.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#789DE7
Deuteranopia (green-blind)
#83A0E2
Tritanopia (blue-blind)
#B698AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb8be4;
/* rgb */ color: rgb(187, 139, 228);
/* oklch */ color: oklch(71.6% 0.135 308.1);
Tailwind
colors: {
  custom: {
    50: '#d1aded',
    500: '#bb8be4',
    950: '#000000',
  },
}
SCSS
$custom: #bb8be4;
$custom-light: #d1aded;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8be4",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 228
  },
  "hsl": {
    "h": 272.36,
    "s": 62.238,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71626,
    "c": 0.13497,
    "h": 308.1
  },
  "luminance": 0.34631
}

Semantic roles & 50–950 ramp

primary
#BB8BE4
secondary
#E5F1DA
accent
#CA1C6C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB8BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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