#BB7AF9#BB7AF9

#BB7AF9 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.187 H 305.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#BB7AF9
RGBrgb(187, 122, 249)
HSLhsl(271, 91%, 73%)
HSVhsv(271, 51%, 98%)
CMYKcmyk(24.9%, 51%, 0%, 2.4%)
CIE-LABlab(62.78, 48.82, -54.14)
CIE-LCHlch(62.78, 72.90, 312.04°)
OKLaboklab(69.95% 0.1094 -0.152)
OKLCHoklch(69.95% 0.187 305.7)
XYZxyz(44.5484, 31.3237, 93.3034)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AF9 #B8F97A
analogous
#7C7AF9 #BB7AF9 #F97AF7
triadic
#BB7AF9 #F9BB7A #7AF9BB
tetradic
#BB7AF9 #F97C7A #B8F97A #7AF7F9
square
#BB7AF9 #F97C7A #B8F97A #7AF7F9
split-complementary
#BB7AF9 #F7F97A #7AF97C
monochromatic
#7F0BEE #9D3FF6 #BB7AF9 #D9B5FC #F0E2FE

Accessibility & contrast

On white

2.89
#BB7AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#BB7AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AF9
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AF9#FFFFFF#000000##000000
##BB7AF91.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FD
Deuteranopia (green-blind)
#6698F6
Tritanopia (blue-blind)
#B191AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7af9;
/* rgb */ color: rgb(187, 122, 249);
/* oklch */ color: oklch(69.9% 0.187 305.7);
Tailwind
colors: {
  custom: {
    50: '#d2a2fc',
    500: '#bb7af9',
    950: '#000000',
  },
}
SCSS
$custom: #bb7af9;
$custom-light: #d2a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7af9",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 270.709,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69947,
    "c": 0.1873,
    "h": 305.7
  },
  "luminance": 0.31323
}

Semantic roles & 50–950 ramp

primary
#BB7AF9
secondary
#E5F6D5
accent
#E60070
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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