#BB6AFB#BB6AFB

#BB6AFB is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.7% C 0.213 H 307.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#BB6AFB
RGBrgb(187, 106, 251)
HSLhsl(274, 95%, 70%)
HSVhsv(274, 58%, 98%)
CMYKcmyk(25.5%, 57.8%, 0%, 1.6%)
CIE-LABlab(59.74, 57.53, -60.09)
CIE-LCHlch(59.74, 83.19, 313.75°)
OKLaboklab(67.75% 0.1296 -0.1694)
OKLCHoklch(67.75% 0.213 307.4)
XYZxyz(43.0566, 27.8384, 94.3532)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AFB #AAFB6A
analogous
#726AFB #BB6AFB #FB6AF3
triadic
#BB6AFB #FBBB6A #6AFBBB
tetradic
#BB6AFB #FB726A #AAFB6A #6AF3FB
square
#BB6AFB #FB726A #AAFB6A #6AF3FB
split-complementary
#BB6AFB #F3FB6A #6AFB72
monochromatic
#8206E4 #A02EF9 #BB6AFB #D6A6FD #F1E1FE

Accessibility & contrast

On white

3.20
#BB6AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#BB6AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AFB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AFB#FFFFFF#000000##000000
##BB6AFB1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#308DFF
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#B186A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #bb6afb;
/* rgb */ color: rgb(187, 106, 251);
/* oklch */ color: oklch(67.7% 0.213 307.4);
Tailwind
colors: {
  custom: {
    50: '#d398fd',
    500: '#bb6afb',
    950: '#000000',
  },
}
SCSS
$custom: #bb6afb;
$custom-light: #d398fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6afb",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 273.517,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.67747,
    "c": 0.21324,
    "h": 307.4
  },
  "luminance": 0.27838
}

Semantic roles & 50–950 ramp

primary
#BB6AFB
secondary
#DEF5CC
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #BB6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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