#BB8DFB#BB8DFB

#BB8DFB is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.1% C 0.160 H 301.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#BB8DFB
RGBrgb(187, 141, 251)
HSLhsl(265, 93%, 77%)
HSVhsv(265, 44%, 98%)
CMYKcmyk(25.5%, 43.8%, 0%, 1.6%)
CIE-LABlab(66.96, 38.99, -48.62)
CIE-LCHlch(66.96, 62.32, 308.73°)
OKLaboklab(73.1% 0.0846 -0.136)
OKLCHoklch(73.1% 0.16 301.9)
XYZxyz(47.4271, 36.5795, 95.8100)
Luminance0.3658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8DFB #CDFB8D
analogous
#8D96FB #BB8DFB #F28DFB
triadic
#BB8DFB #FBBB8D #8DFBBB
tetradic
#BB8DFB #FB8D96 #CDFB8D #8DFBF2
square
#BB8DFB #FB8D96 #CDFB8D #8DFBF2
split-complementary
#BB8DFB #FBF28D #96FB8D
monochromatic
#7417F7 #9852F9 #BB8DFB #DEC8FD #EDE1FE

Accessibility & contrast

On white

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

On black

8.32
#BB8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8DFB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8DFB#FFFFFF#000000##000000
##BB8DFB1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#79A3F8
Tritanopia (blue-blind)
#AFA0B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8dfb;
/* rgb */ color: rgb(187, 141, 251);
/* oklch */ color: oklch(73.1% 0.160 301.9);
Tailwind
colors: {
  custom: {
    50: '#d2affd',
    500: '#bb8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #bb8dfb;
$custom-light: #d2affd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8dfb",
  "rgb": {
    "r": 187,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 265.091,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73099,
    "c": 0.16012,
    "h": 301.9
  },
  "luminance": 0.3658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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