#BB8AFF#BB8AFF

#BB8AFF is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.8% C 0.170 H 301.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#BB8AFF
RGBrgb(187, 138, 255)
HSLhsl(265, 100%, 77%)
HSVhsv(265, 46%, 100%)
CMYKcmyk(26.7%, 45.9%, 0%, 0%)
CIE-LABlab(66.49, 41.58, -51.54)
CIE-LCHlch(66.49, 66.22, 308.89°)
OKLaboklab(72.81% 0.0891 -0.1445)
OKLCHoklch(72.81% 0.17 301.7)
XYZxyz(47.6279, 35.9617, 99.0205)
Luminance0.3596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8AFF #CEFF8A
analogous
#8A94FF #BB8AFF #F58AFF
triadic
#BB8AFF #FFBB8A #8AFFBB
tetradic
#BB8AFF #FF8A94 #CEFF8A #8AFFF5
square
#BB8AFF #FF8A94 #CEFF8A #8AFFF5
split-complementary
#BB8AFF #FFF58A #94FF8A
monochromatic
#7410FF #974DFF #BB8AFF #DFC7FF #EDE0FF

Accessibility & contrast

On white

2.56
#BB8AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#BB8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8AFF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8AFF#FFFFFF#000000##000000
##BB8AFF1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#74A1FC
Tritanopia (blue-blind)
#AE9FB8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8aff;
/* rgb */ color: rgb(187, 138, 255);
/* oklch */ color: oklch(72.8% 0.170 301.7);
Tailwind
colors: {
  custom: {
    50: '#d2adff',
    500: '#bb8aff',
    950: '#000000',
  },
}
SCSS
$custom: #bb8aff;
$custom-light: #d2adff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8aff",
  "rgb": {
    "r": 187,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 265.128,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7281,
    "c": 0.16975,
    "h": 301.7
  },
  "luminance": 0.35962
}

Semantic roles & 50–950 ramp

primary
#BB8AFF
secondary
#E8F7D4
accent
#E60085
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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