#BB8EE2#BB8EE2

#BB8EE2 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.1% C 0.127 H 308.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#BB8EE2
RGBrgb(187, 142, 226)
HSLhsl(272, 59%, 72%)
HSVhsv(272, 37%, 89%)
CMYKcmyk(17.3%, 37.2%, 0%, 11.4%)
CIE-LABlab(66.06, 32.76, -36.28)
CIE-LCHlch(66.06, 48.89, 312.08°)
OKLaboklab(72.05% 0.0786 -0.1003)
OKLCHoklch(72.05% 0.127 308.1)
XYZxyz(43.8914, 35.4022, 76.4578)
Luminance0.3540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EE2 #B5E28E
analogous
#918EE2 #BB8EE2 #E28EDF
triadic
#BB8EE2 #E2BB8E #8EE2BB
tetradic
#BB8EE2 #E2918E #B5E28E #8EDFE2
square
#BB8EE2 #E2918E #B5E28E #8EDFE2
split-complementary
#BB8EE2 #DFE28E #8EE291
monochromatic
#8032C3 #9E5DD6 #BB8EE2 #D8BFEE #F0E7F9

Accessibility & contrast

On white

2.60
#BB8EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#BB8EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EE2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EE2#FFFFFF#000000##000000
##BB8EE21.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE5
Deuteranopia (green-blind)
#87A1E0
Tritanopia (blue-blind)
#B69AAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8ee2;
/* rgb */ color: rgb(187, 142, 226);
/* oklch */ color: oklch(72.1% 0.127 308.1);
Tailwind
colors: {
  custom: {
    50: '#d0afeb',
    500: '#bb8ee2',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ee2;
$custom-light: #d0afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ee2",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 272.143,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72051,
    "c": 0.12746,
    "h": 308.1
  },
  "luminance": 0.35402
}

Semantic roles & 50–950 ramp

primary
#BB8EE2
secondary
#E5F0DB
accent
#C71F6D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB8EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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