#BB7AF0#BB7AF0

#BB7AF0 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.177 H 307.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#BB7AF0
RGBrgb(187, 122, 240)
HSLhsl(273, 80%, 71%)
HSVhsv(273, 49%, 94%)
CMYKcmyk(22.1%, 49.2%, 0%, 5.9%)
CIE-LABlab(62.32, 46.79, -49.91)
CIE-LCHlch(62.32, 68.41, 313.15°)
OKLaboklab(69.45% 0.1086 -0.1397)
OKLCHoklch(69.45% 0.177 307.9)
XYZxyz(43.1781, 30.7756, 86.0868)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AF0 #AFF07A
analogous
#807AF0 #BB7AF0 #F07AEA
triadic
#BB7AF0 #F0BB7A #7AF0BB
tetradic
#BB7AF0 #F0807A #AFF07A #7AEAF0
square
#BB7AF0 #F0807A #AFF07A #7AEAF0
split-complementary
#BB7AF0 #EAF07A #7AF080
monochromatic
#8218D7 #9F43EA #BB7AF0 #D7B1F6 #F1E4FC

Accessibility & contrast

On white

2.94
#BB7AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#BB7AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AF0
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AF0#FFFFFF#000000##000000
##BB7AF01.002.947.167.16
#FFFFFF2.941.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F4
Deuteranopia (green-blind)
#6C97ED
Tritanopia (blue-blind)
#B38EAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7af0;
/* rgb */ color: rgb(187, 122, 240);
/* oklch */ color: oklch(69.5% 0.177 307.9);
Tailwind
colors: {
  custom: {
    50: '#d2a2f5',
    500: '#bb7af0',
    950: '#000000',
  },
}
SCSS
$custom: #bb7af0;
$custom-light: #d2a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7af0",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 273.051,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69454,
    "c": 0.17693,
    "h": 307.9
  },
  "luminance": 0.30775
}

Semantic roles & 50–950 ramp

primary
#BB7AF0
secondary
#E1F3D3
accent
#DC0968
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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