#BB8DFF#BB8DFF

#BB8DFF is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.3% C 0.165 H 301.0°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#BB8DFF
RGBrgb(187, 141, 255)
HSLhsl(264, 100%, 78%)
HSVhsv(264, 45%, 100%)
CMYKcmyk(26.7%, 44.7%, 0%, 0%)
CIE-LABlab(67.15, 39.93, -50.50)
CIE-LCHlch(67.15, 64.38, 308.34°)
OKLaboklab(73.31% 0.0851 -0.1414)
OKLCHoklch(73.31% 0.165 301)
XYZxyz(48.0643, 36.8344, 99.1659)
Luminance0.3684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8DFF #D1FF8D
analogous
#8D98FF #BB8DFF #F48DFF
triadic
#BB8DFF #FFBB8D #8DFFBB
tetradic
#BB8DFF #FF8D98 #D1FF8D #8DFFF4
square
#BB8DFF #FF8D98 #D1FF8D #8DFFF4
split-complementary
#BB8DFF #FFF48D #98FF8D
monochromatic
#7213FF #9650FF #BB8DFF #E0CAFF #EDE0FF

Accessibility & contrast

On white

2.51
#BB8DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#BB8DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8DFF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8DFF#FFFFFF#000000##000000
##BB8DFF1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA3FF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#AEA1BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8dff;
/* rgb */ color: rgb(187, 141, 255);
/* oklch */ color: oklch(73.3% 0.165 301.0);
Tailwind
colors: {
  custom: {
    50: '#d2afff',
    500: '#bb8dff',
    950: '#000000',
  },
}
SCSS
$custom: #bb8dff;
$custom-light: #d2afff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8dff",
  "rgb": {
    "r": 187,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 264.211,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73306,
    "c": 0.16509,
    "h": 301
  },
  "luminance": 0.36835
}

Semantic roles & 50–950 ramp

primary
#BB8DFF
secondary
#E9F7D4
accent
#E60089
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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