#BB8BE9#BB8BE9

#BB8BE9 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.9% C 0.141 H 306.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#BB8BE9
RGBrgb(187, 139, 233)
HSLhsl(271, 68%, 73%)
HSVhsv(271, 40%, 91%)
CMYKcmyk(19.7%, 40.3%, 0%, 8.6%)
CIE-LABlab(65.68, 35.97, -40.74)
CIE-LCHlch(65.68, 54.35, 311.44°)
OKLaboklab(71.86% 0.0843 -0.1132)
OKLCHoklch(71.86% 0.141 306.7)
XYZxyz(44.4312, 34.9136, 81.4733)
Luminance0.3491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BE9 #B9E98B
analogous
#8C8BE9 #BB8BE9 #E98BE8
triadic
#BB8BE9 #E9BB8B #8BE9BB
tetradic
#BB8BE9 #E98C8B #B9E98B #8BE8E9
square
#BB8BE9 #E98C8B #B9E98B #8BE8E9
split-complementary
#BB8BE9 #E8E98B #8BE98C
monochromatic
#7F28D2 #9D58DF #BB8BE9 #D9BEF3 #F0E5FA

Accessibility & contrast

On white

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

On black

7.98
#BB8BE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BE9
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BE9#FFFFFF#000000##000000
##BB8BE91.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EED
Deuteranopia (green-blind)
#81A0E6
Tritanopia (blue-blind)
#B49AAF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8be9;
/* rgb */ color: rgb(187, 139, 233);
/* oklch */ color: oklch(71.9% 0.141 306.7);
Tailwind
colors: {
  custom: {
    50: '#d1adf0',
    500: '#bb8be9',
    950: '#000000',
  },
}
SCSS
$custom: #bb8be9;
$custom-light: #d1adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8be9",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 233
  },
  "hsl": {
    "h": 270.638,
    "s": 68.116,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71864,
    "c": 0.1411,
    "h": 306.7
  },
  "luminance": 0.34913
}

Semantic roles & 50–950 ramp

primary
#BB8BE9
secondary
#E5F2D9
accent
#D01571
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #BB8BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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