#BB8CFA#BB8CFA

#BB8CFA is a light, vivid violet. Relative luminance 0.362; OKLCH L 72.9% C 0.160 H 302.3°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#BB8CFA
RGBrgb(187, 140, 250)
HSLhsl(266, 92%, 76%)
HSVhsv(266, 44%, 98%)
CMYKcmyk(25.2%, 44%, 0%, 2%)
CIE-LABlab(66.69, 39.31, -48.50)
CIE-LCHlch(66.69, 62.43, 309.03°)
OKLaboklab(72.88% 0.0858 -0.1356)
OKLCHoklch(72.88% 0.16 302.3)
XYZxyz(47.1231, 36.2231, 94.9331)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CFA #CBFA8C
analogous
#8C94FA #BB8CFA #F28CFA
triadic
#BB8CFA #FABB8C #8CFABB
tetradic
#BB8CFA #FA8C94 #CBFA8C #8CFAF2
square
#BB8CFA #FA8C94 #CBFA8C #8CFAF2
split-complementary
#BB8CFA #FAF28C #94FA8C
monochromatic
#7617F5 #9851F7 #BB8CFA #DEC7FD #EEE2FE

Accessibility & contrast

On white

2.55
#BB8CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#BB8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CFA
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CFA#FFFFFF#000000##000000
##BB8CFA1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#B09FB7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8cfa;
/* rgb */ color: rgb(187, 140, 250);
/* oklch */ color: oklch(72.9% 0.160 302.3);
Tailwind
colors: {
  custom: {
    50: '#d1aefc',
    500: '#bb8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cfa;
$custom-light: #d1aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cfa",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 265.636,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7288,
    "c": 0.16046,
    "h": 302.3
  },
  "luminance": 0.36223
}

Semantic roles & 50–950 ramp

primary
#BB8CFA
secondary
#E8F6D5
accent
#E60083
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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