#BB8AFD#BB8AFD

#BB8AFD is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.7% C 0.167 H 302.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#BB8AFD
RGBrgb(187, 138, 253)
HSLhsl(266, 97%, 77%)
HSVhsv(266, 45%, 99%)
CMYKcmyk(26.1%, 45.5%, 0%, 0.8%)
CIE-LABlab(66.39, 41.11, -50.61)
CIE-LCHlch(66.39, 65.20, 309.09°)
OKLaboklab(72.71% 0.0889 -0.1417)
OKLCHoklch(72.71% 0.167 302.1)
XYZxyz(47.3077, 35.8336, 97.3337)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8AFD #CCFD8A
analogous
#8A93FD #BB8AFD #F48AFD
triadic
#BB8AFD #FDBB8A #8AFDBB
tetradic
#BB8AFD #FD8A93 #CCFD8A #8AFDF4
square
#BB8AFD #FD8A93 #CCFD8A #8AFDF4
split-complementary
#BB8AFD #FDF48A #93FD8A
monochromatic
#7512FB #984EFC #BB8AFD #DEC6FE #EEE1FE

Accessibility & contrast

On white

2.57
#BB8AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#BB8AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8AFD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8AFD#FFFFFF#000000##000000
##BB8AFD1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#75A1FA
Tritanopia (blue-blind)
#AF9EB8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8afd;
/* rgb */ color: rgb(187, 138, 253);
/* oklch */ color: oklch(72.7% 0.167 302.1);
Tailwind
colors: {
  custom: {
    50: '#d2adfe',
    500: '#bb8afd',
    950: '#000000',
  },
}
SCSS
$custom: #bb8afd;
$custom-light: #d2adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8afd",
  "rgb": {
    "r": 187,
    "g": 138,
    "b": 253
  },
  "hsl": {
    "h": 265.565,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72705,
    "c": 0.16729,
    "h": 302.1
  },
  "luminance": 0.35834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB8AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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