#BB8BE7#BB8BE7

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

Color values

HEX#BB8BE7
RGBrgb(187, 139, 231)
HSLhsl(271, 66%, 73%)
HSVhsv(271, 40%, 91%)
CMYKcmyk(19%, 39.8%, 0%, 9.4%)
CIE-LABlab(65.59, 35.53, -39.78)
CIE-LCHlch(65.59, 53.33, 311.77°)
OKLaboklab(71.77% 0.0839 -0.1104)
OKLCHoklch(71.77% 0.139 307.2)
XYZxyz(44.1471, 34.7999, 79.9772)
Luminance0.3480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BE7 #B7E78B
analogous
#8D8BE7 #BB8BE7 #E78BE5
triadic
#BB8BE7 #E7BB8B #8BE7BB
tetradic
#BB8BE7 #E78D8B #B7E78B #8BE5E7
square
#BB8BE7 #E78D8B #B7E78B #8BE5E7
split-complementary
#BB8BE7 #E5E78B #8BE78D
monochromatic
#7F2ACD #9D58DD #BB8BE7 #D9BEF1 #F0E6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB8BE7#FFFFFF#000000##000000
##BB8BE71.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)
#779DEA
Deuteranopia (green-blind)
#82A0E4
Tritanopia (blue-blind)
#B599AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb8be7;
/* rgb */ color: rgb(187, 139, 231);
/* oklch */ color: oklch(71.8% 0.139 307.2);
Tailwind
colors: {
  custom: {
    50: '#d1adef',
    500: '#bb8be7',
    950: '#000000',
  },
}
SCSS
$custom: #bb8be7;
$custom-light: #d1adef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8be7",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 271.304,
    "s": 65.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71768,
    "c": 0.13864,
    "h": 307.2
  },
  "luminance": 0.348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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