#BB7AF8#BB7AF8

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

Color values

HEX#BB7AF8
RGBrgb(187, 122, 248)
HSLhsl(271, 90%, 73%)
HSVhsv(271, 51%, 97%)
CMYKcmyk(24.6%, 50.8%, 0%, 2.7%)
CIE-LABlab(62.73, 48.59, -53.67)
CIE-LCHlch(62.73, 72.40, 312.16°)
OKLaboklab(69.89% 0.1094 -0.1506)
OKLCHoklch(69.89% 0.186 306)
XYZxyz(44.3928, 31.2615, 92.4841)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AF8 #B7F87A
analogous
#7C7AF8 #BB7AF8 #F87AF6
triadic
#BB7AF8 #F8BB7A #7AF8BB
tetradic
#BB7AF8 #F87C7A #B7F87A #7AF6F8
square
#BB7AF8 #F87C7A #B7F87A #7AF6F8
split-complementary
#BB7AF8 #F6F87A #7AF87C
monochromatic
#7F0CEB #9D40F5 #BB7AF8 #D9B4FB #F0E2FD

Accessibility & contrast

On white

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

On black

7.25
#BB7AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AF8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AF8#FFFFFF#000000##000000
##BB7AF81.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FC
Deuteranopia (green-blind)
#6798F5
Tritanopia (blue-blind)
#B190AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7af8;
/* rgb */ color: rgb(187, 122, 248);
/* oklch */ color: oklch(69.9% 0.186 306.0);
Tailwind
colors: {
  custom: {
    50: '#d2a2fb',
    500: '#bb7af8',
    950: '#000000',
  },
}
SCSS
$custom: #bb7af8;
$custom-light: #d2a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7af8",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 270.952,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69891,
    "c": 0.18614,
    "h": 306
  },
  "luminance": 0.31261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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