#BB8FEF#BB8FEF

#BB8FEF is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.8% C 0.142 H 304.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#BB8FEF
RGBrgb(187, 143, 239)
HSLhsl(268, 75%, 75%)
HSVhsv(268, 40%, 94%)
CMYKcmyk(21.8%, 40.2%, 0%, 6.3%)
CIE-LABlab(66.86, 35.12, -42.21)
CIE-LCHlch(66.86, 54.91, 309.76°)
OKLaboklab(72.84% 0.0798 -0.1174)
OKLCHoklch(72.84% 0.142 304.2)
XYZxyz(45.8927, 36.4419, 86.2609)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8FEF #C3EF8F
analogous
#8F93EF #BB8FEF #EB8FEF
triadic
#BB8FEF #EFBB8F #8FEFBB
tetradic
#BB8FEF #EF8F93 #C3EF8F #8FEFEB
square
#BB8FEF #EF8F93 #C3EF8F #8FEFEB
split-complementary
#BB8FEF #EFEB8F #93EF8F
monochromatic
#7A24E0 #9A59E7 #BB8FEF #DCC5F7 #EFE4FB

Accessibility & contrast

On white

2.53
#BB8FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#BB8FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8FEF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8FEF#FFFFFF#000000##000000
##BB8FEF1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F3
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#B39EB4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8fef;
/* rgb */ color: rgb(187, 143, 239);
/* oklch */ color: oklch(72.8% 0.142 304.2);
Tailwind
colors: {
  custom: {
    50: '#d1b0f4',
    500: '#bb8fef',
    950: '#000000',
  },
}
SCSS
$custom: #bb8fef;
$custom-light: #d1b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8fef",
  "rgb": {
    "r": 187,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 267.5,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72839,
    "c": 0.14196,
    "h": 304.2
  },
  "luminance": 0.36442
}

Semantic roles & 50–950 ramp

primary
#BB8FEF
secondary
#E7F3D8
accent
#D70E7B
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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