#BB8BF2#BB8BF2

#BB8BF2 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.3% C 0.152 H 304.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#BB8BF2
RGBrgb(187, 139, 242)
HSLhsl(268, 80%, 75%)
HSVhsv(268, 43%, 95%)
CMYKcmyk(22.7%, 42.6%, 0%, 5.1%)
CIE-LABlab(66.09, 38.01, -45.06)
CIE-LCHlch(66.09, 58.95, 310.15°)
OKLaboklab(72.31% 0.0859 -0.1256)
OKLCHoklch(72.31% 0.152 304.4)
XYZxyz(45.7498, 35.4410, 88.4178)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8BF2 #C2F28B
analogous
#8B8FF2 #BB8BF2 #EE8BF2
triadic
#BB8BF2 #F2BB8B #8BF2BB
tetradic
#BB8BF2 #F28B8F #C2F28B #8BF2EE
square
#BB8BF2 #F28B8F #C2F28B #8BF2EE
split-complementary
#BB8BF2 #F2EE8B #8FF28B
monochromatic
#7A1DE6 #9B54EC #BB8BF2 #DBC2F8 #EFE3FC

Accessibility & contrast

On white

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

On black

8.09
#BB8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8BF2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8BF2#FFFFFF#000000##000000
##BB8BF21.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#7CA1EF
Tritanopia (blue-blind)
#B29CB3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8bf2;
/* rgb */ color: rgb(187, 139, 242);
/* oklch */ color: oklch(72.3% 0.152 304.4);
Tailwind
colors: {
  custom: {
    50: '#d1adf7',
    500: '#bb8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #bb8bf2;
$custom-light: #d1adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8bf2",
  "rgb": {
    "r": 187,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 267.961,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72307,
    "c": 0.15217,
    "h": 304.4
  },
  "luminance": 0.35441
}

Semantic roles & 50–950 ramp

primary
#BB8BF2
secondary
#E6F4D7
accent
#DC097A
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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