#BB7AFD#BB7AFD

#BB7AFD is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.2% C 0.192 H 304.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#BB7AFD
RGBrgb(187, 122, 253)
HSLhsl(270, 97%, 74%)
HSVhsv(270, 52%, 99%)
CMYKcmyk(26.1%, 51.8%, 0%, 0.8%)
CIE-LABlab(62.99, 49.74, -56.00)
CIE-LCHlch(62.99, 74.90, 311.61°)
OKLaboklab(70.17% 0.1097 -0.1575)
OKLCHoklch(70.17% 0.192 304.9)
XYZxyz(45.1789, 31.5759, 96.6241)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AFD #BCFD7A
analogous
#7A7AFD #BB7AFD #FC7AFD
triadic
#BB7AFD #FDBB7A #7AFDBB
tetradic
#BB7AFD #FD7A7A #BCFD7A #7AFDFC
square
#BB7AFD #FD7A7A #BCFD7A #7AFDFC
split-complementary
#BB7AFD #FDFC7A #7AFD7A
monochromatic
#7D04F9 #9C3EFC #BB7AFD #DAB6FE #F0E1FF

Accessibility & contrast

On white

2.87
#BB7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#BB7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AFD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AFD#FFFFFF#000000##000000
##BB7AFD1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#B092B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7afd;
/* rgb */ color: rgb(187, 122, 253);
/* oklch */ color: oklch(70.2% 0.192 304.9);
Tailwind
colors: {
  custom: {
    50: '#d2a2ff',
    500: '#bb7afd',
    950: '#000000',
  },
}
SCSS
$custom: #bb7afd;
$custom-light: #d2a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7afd",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 269.771,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70171,
    "c": 0.19192,
    "h": 304.9
  },
  "luminance": 0.31576
}

Semantic roles & 50–950 ramp

primary
#BB7AFD
secondary
#E6F7D4
accent
#E60074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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