#BB8FFC#BB8FFC

#BB8FFC is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.5% C 0.158 H 301.2°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BB8FFC
RGBrgb(187, 143, 252)
HSLhsl(264, 95%, 77%)
HSVhsv(264, 43%, 99%)
CMYKcmyk(25.8%, 43.3%, 0%, 1.2%)
CIE-LABlab(67.46, 38.13, -48.38)
CIE-LCHlch(67.46, 61.60, 308.24°)
OKLaboklab(73.49% 0.082 -0.1353)
OKLCHoklch(73.49% 0.158 301.2)
XYZxyz(47.8827, 37.2379, 96.7416)
Luminance0.3724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8FFC #D0FC8F
analogous
#8F9AFC #BB8FFC #F18FFC
triadic
#BB8FFC #FCBB8F #8FFCBB
tetradic
#BB8FFC #FC8F9A #D0FC8F #8FFCF1
square
#BB8FFC #FC8F9A #D0FC8F #8FFCF1
split-complementary
#BB8FFC #FCF18F #9AFC8F
monochromatic
#7318F9 #9753FA #BB8FFC #DFCBFE #EDE1FE

Accessibility & contrast

On white

2.49
#BB8FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#BB8FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8FFC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8FFC#FFFFFF#000000##000000
##BB8FFC1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#AFA2BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb8ffc;
/* rgb */ color: rgb(187, 143, 252);
/* oklch */ color: oklch(73.5% 0.158 301.2);
Tailwind
colors: {
  custom: {
    50: '#d1b0fe',
    500: '#bb8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ffc;
$custom-light: #d1b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ffc",
  "rgb": {
    "r": 187,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 264.22,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.73487,
    "c": 0.15822,
    "h": 301.2
  },
  "luminance": 0.37238
}

Semantic roles & 50–950 ramp

primary
#BB8FFC
secondary
#E9F6D5
accent
#E60089
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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