#BB8BE8#BB8BE8

#BB8BE8 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.8% C 0.140 H 307.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#BB8BE8
RGBrgb(187, 139, 232)
HSLhsl(271, 67%, 73%)
HSVhsv(271, 40%, 91%)
CMYKcmyk(19.4%, 40.1%, 0%, 9%)
CIE-LABlab(65.64, 35.75, -40.26)
CIE-LCHlch(65.64, 53.84, 311.61°)
OKLaboklab(71.82% 0.0841 -0.1118)
OKLCHoklch(71.82% 0.14 307)
XYZxyz(44.2888, 34.8566, 80.7231)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BE8 #B8E88B
analogous
#8D8BE8 #BB8BE8 #E88BE6
triadic
#BB8BE8 #E8BB8B #8BE8BB
tetradic
#BB8BE8 #E88D8B #B8E88B #8BE6E8
square
#BB8BE8 #E88D8B #B8E88B #8BE6E8
split-complementary
#BB8BE8 #E6E88B #8BE88D
monochromatic
#7F29CF #9D58DE #BB8BE8 #D9BEF2 #F0E5FA

Accessibility & contrast

On white

2.63
#BB8BE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#BB8BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BE8
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BE8#FFFFFF#000000##000000
##BB8BE81.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EEB
Deuteranopia (green-blind)
#81A0E5
Tritanopia (blue-blind)
#B599AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb8be8;
/* rgb */ color: rgb(187, 139, 232);
/* oklch */ color: oklch(71.8% 0.140 307.0);
Tailwind
colors: {
  custom: {
    50: '#d1adef',
    500: '#bb8be8',
    950: '#000000',
  },
}
SCSS
$custom: #bb8be8;
$custom-light: #d1adef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8be8",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 232
  },
  "hsl": {
    "h": 270.968,
    "s": 66.906,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71816,
    "c": 0.13986,
    "h": 307
  },
  "luminance": 0.34856
}

Semantic roles & 50–950 ramp

primary
#BB8BE8
secondary
#E5F1DA
accent
#CF1770
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BB8BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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