#BB8FE2#BB8FE2

#BB8FE2 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.2% C 0.126 H 307.9°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#BB8FE2
RGBrgb(187, 143, 226)
HSLhsl(272, 59%, 72%)
HSVhsv(272, 37%, 89%)
CMYKcmyk(17.3%, 36.7%, 0%, 11.4%)
CIE-LABlab(66.29, 32.21, -35.92)
CIE-LCHlch(66.29, 48.25, 311.88°)
OKLaboklab(72.23% 0.0772 -0.0993)
OKLCHoklch(72.23% 0.126 307.9)
XYZxyz(44.0408, 35.7011, 76.5077)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8FE2 #B6E28F
analogous
#928FE2 #BB8FE2 #E28FE0
triadic
#BB8FE2 #E2BB8F #8FE2BB
tetradic
#BB8FE2 #E2928F #B6E28F #8FE0E2
square
#BB8FE2 #E2928F #B6E28F #8FE0E2
split-complementary
#BB8FE2 #E0E28F #8FE292
monochromatic
#8033C4 #9D5ED5 #BB8FE2 #D9C0EF #F0E7F9

Accessibility & contrast

On white

2.58
#BB8FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#BB8FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8FE2
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8FE2#FFFFFF#000000##000000
##BB8FE21.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9FE5
Deuteranopia (green-blind)
#88A2E0
Tritanopia (blue-blind)
#B69BAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8fe2;
/* rgb */ color: rgb(187, 143, 226);
/* oklch */ color: oklch(72.2% 0.126 307.9);
Tailwind
colors: {
  custom: {
    50: '#d0b0eb',
    500: '#bb8fe2',
    950: '#000000',
  },
}
SCSS
$custom: #bb8fe2;
$custom-light: #d0b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8fe2",
  "rgb": {
    "r": 187,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 271.807,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72226,
    "c": 0.12578,
    "h": 307.9
  },
  "luminance": 0.35701
}

Semantic roles & 50–950 ramp

primary
#BB8FE2
secondary
#E5F0DB
accent
#C61F6E
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB8FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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