#BB7AF7#BB7AF7

#BB7AF7 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.8% C 0.185 H 306.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#BB7AF7
RGBrgb(187, 122, 247)
HSLhsl(271, 89%, 72%)
HSVhsv(271, 51%, 97%)
CMYKcmyk(24.3%, 50.6%, 0%, 3.1%)
CIE-LABlab(62.68, 48.37, -53.20)
CIE-LCHlch(62.68, 71.90, 312.27°)
OKLaboklab(69.84% 0.1093 -0.1493)
OKLCHoklch(69.84% 0.185 306.2)
XYZxyz(44.2381, 31.1996, 91.6693)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AF7 #B6F77A
analogous
#7D7AF7 #BB7AF7 #F77AF4
triadic
#BB7AF7 #F7BB7A #7AF7BB
tetradic
#BB7AF7 #F77D7A #B6F77A #7AF4F7
square
#BB7AF7 #F77D7A #B6F77A #7AF4F7
split-complementary
#BB7AF7 #F4F77A #7AF77D
monochromatic
#800EE9 #9D40F4 #BB7AF7 #D9B4FA #F0E2FD

Accessibility & contrast

On white

2.90
#BB7AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#BB7AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AF7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AF7#FFFFFF#000000##000000
##BB7AF71.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595FB
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#B290AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7af7;
/* rgb */ color: rgb(187, 122, 247);
/* oklch */ color: oklch(69.8% 0.185 306.2);
Tailwind
colors: {
  custom: {
    50: '#d2a2fa',
    500: '#bb7af7',
    950: '#000000',
  },
}
SCSS
$custom: #bb7af7;
$custom-light: #d2a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7af7",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 271.2,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69836,
    "c": 0.18499,
    "h": 306.2
  },
  "luminance": 0.31199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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