#BB8FEC#BB8FEC

#BB8FEC is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.7% C 0.138 H 305.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#BB8FEC
RGBrgb(187, 143, 236)
HSLhsl(268, 71%, 74%)
HSVhsv(268, 39%, 93%)
CMYKcmyk(20.8%, 39.4%, 0%, 7.5%)
CIE-LABlab(66.72, 34.44, -40.77)
CIE-LCHlch(66.72, 53.36, 310.19°)
OKLaboklab(72.69% 0.0793 -0.1132)
OKLCHoklch(72.69% 0.138 305)
XYZxyz(45.4532, 36.2661, 83.9461)
Luminance0.3627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8FEC #C0EC8F
analogous
#8F92EC #BB8FEC #E98FEC
triadic
#BB8FEC #ECBB8F #8FECBB
tetradic
#BB8FEC #EC8F92 #C0EC8F #8FECE9
square
#BB8FEC #EC8F92 #C0EC8F #8FECE9
split-complementary
#BB8FEC #ECE98F #92EC8F
monochromatic
#7B26DA #9B5BE3 #BB8FEC #DBC3F5 #EFE5FB

Accessibility & contrast

On white

2.54
#BB8FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#BB8FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8FEC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8FEC#FFFFFF#000000##000000
##BB8FEC1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F0
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#B39EB2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8fec;
/* rgb */ color: rgb(187, 143, 236);
/* oklch */ color: oklch(72.7% 0.138 305.0);
Tailwind
colors: {
  custom: {
    50: '#d1b0f2',
    500: '#bb8fec',
    950: '#000000',
  },
}
SCSS
$custom: #bb8fec;
$custom-light: #d1b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8fec",
  "rgb": {
    "r": 187,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 268.387,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72695,
    "c": 0.13822,
    "h": 305
  },
  "luminance": 0.36266
}

Semantic roles & 50–950 ramp

primary
#BB8FEC
secondary
#E6F2D9
accent
#D31278
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Preview Lab

Preview with #BB8FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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