#BB6AFD#BB6AFD

#BB6AFD is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.9% C 0.215 H 307.0°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#BB6AFD
RGBrgb(187, 106, 253)
HSLhsl(273, 97%, 70%)
HSVhsv(273, 58%, 99%)
CMYKcmyk(26.1%, 58.1%, 0%, 0.8%)
CIE-LABlab(59.86, 57.97, -61.01)
CIE-LCHlch(59.86, 84.16, 313.54°)
OKLaboklab(67.87% 0.1296 -0.172)
OKLCHoklch(67.87% 0.215 307)
XYZxyz(43.3735, 27.9652, 96.0223)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AFD #ACFD6A
analogous
#716AFD #BB6AFD #FD6AF6
triadic
#BB6AFD #FDBB6A #6AFDBB
tetradic
#BB6AFD #FD716A #ACFD6A #6AF6FD
square
#BB6AFD #FD716A #ACFD6A #6AF6FD
split-complementary
#BB6AFD #F6FD6A #6AFD71
monochromatic
#8203E9 #9F2EFC #BB6AFD #D7A6FE #F1E1FF

Accessibility & contrast

On white

3.19
#BB6AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#BB6AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AFD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AFD#FFFFFF#000000##000000
##BB6AFD1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8DFF
Deuteranopia (green-blind)
#5191FA
Tritanopia (blue-blind)
#B186AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb6afd;
/* rgb */ color: rgb(187, 106, 253);
/* oklch */ color: oklch(67.9% 0.215 307.0);
Tailwind
colors: {
  custom: {
    50: '#d398ff',
    500: '#bb6afd',
    950: '#000000',
  },
}
SCSS
$custom: #bb6afd;
$custom-light: #d398ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6afd",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 273.061,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67868,
    "c": 0.21539,
    "h": 307
  },
  "luminance": 0.27965
}

Semantic roles & 50–950 ramp

primary
#BB6AFD
secondary
#DFF6CD
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #BB6AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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