#BB8CF2#BB8CF2

#BB8CF2 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.5% C 0.151 H 304.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#BB8CF2
RGBrgb(187, 140, 242)
HSLhsl(268, 80%, 75%)
HSVhsv(268, 42%, 95%)
CMYKcmyk(22.7%, 42.1%, 0%, 5.1%)
CIE-LABlab(66.31, 37.46, -44.70)
CIE-LCHlch(66.31, 58.32, 309.96°)
OKLaboklab(72.47% 0.0845 -0.1246)
OKLCHoklch(72.47% 0.151 304.1)
XYZxyz(45.8952, 35.7319, 88.4663)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CF2 #C3F28C
analogous
#8C90F2 #BB8CF2 #EE8CF2
triadic
#BB8CF2 #F2BB8C #8CF2BB
tetradic
#BB8CF2 #F28C90 #C3F28C #8CF2EE
square
#BB8CF2 #F28C90 #C3F28C #8CF2EE
split-complementary
#BB8CF2 #F2EE8C #90F28C
monochromatic
#7A1EE6 #9A55EC #BB8CF2 #DCC3F8 #EFE4FC

Accessibility & contrast

On white

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

On black

8.15
#BB8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CF2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CF2#FFFFFF#000000##000000
##BB8CF21.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#B29DB3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8cf2;
/* rgb */ color: rgb(187, 140, 242);
/* oklch */ color: oklch(72.5% 0.151 304.1);
Tailwind
colors: {
  custom: {
    50: '#d1aef7',
    500: '#bb8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cf2;
$custom-light: #d1aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cf2",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 267.647,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72475,
    "c": 0.15055,
    "h": 304.1
  },
  "luminance": 0.35732
}

Semantic roles & 50–950 ramp

primary
#BB8CF2
secondary
#E7F4D7
accent
#DC0A7B
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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