#BB7AF6#BB7AF6

#BB7AF6 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.8% C 0.184 H 306.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#BB7AF6
RGBrgb(187, 122, 246)
HSLhsl(271, 87%, 72%)
HSVhsv(271, 50%, 96%)
CMYKcmyk(24%, 50.4%, 0%, 3.5%)
CIE-LABlab(62.62, 48.14, -52.73)
CIE-LCHlch(62.62, 71.40, 312.39°)
OKLaboklab(69.78% 0.1092 -0.1479)
OKLCHoklch(69.78% 0.184 306.4)
XYZxyz(44.0842, 31.1381, 90.8588)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AF6 #B5F67A
analogous
#7D7AF6 #BB7AF6 #F67AF3
triadic
#BB7AF6 #F6BB7A #7AF6BB
tetradic
#BB7AF6 #F67D7A #B5F67A #7AF3F6
square
#BB7AF6 #F67D7A #B5F67A #7AF3F6
split-complementary
#BB7AF6 #F3F67A #7AF67D
monochromatic
#8010E6 #9E41F2 #BB7AF6 #D8B3FA #F0E2FD

Accessibility & contrast

On white

2.91
#BB7AF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#BB7AF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AF6
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AF6#FFFFFF#000000##000000
##BB7AF61.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595FA
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#B290AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7af6;
/* rgb */ color: rgb(187, 122, 246);
/* oklch */ color: oklch(69.8% 0.184 306.4);
Tailwind
colors: {
  custom: {
    50: '#d2a2fa',
    500: '#bb7af6',
    950: '#000000',
  },
}
SCSS
$custom: #bb7af6;
$custom-light: #d2a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7af6",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 271.452,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6978,
    "c": 0.18384,
    "h": 306.4
  },
  "luminance": 0.31138
}

Semantic roles & 50–950 ramp

primary
#BB7AF6
secondary
#E5F5D6
accent
#E4026D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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