#BB6AF7#BB6AF7

#BB6AF7 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.5% C 0.209 H 308.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#BB6AF7
RGBrgb(187, 106, 247)
HSLhsl(274, 90%, 69%)
HSVhsv(274, 57%, 97%)
CMYKcmyk(24.3%, 57.1%, 0%, 3.1%)
CIE-LABlab(59.52, 56.64, -58.24)
CIE-LCHlch(59.52, 81.24, 314.21°)
OKLaboklab(67.51% 0.1295 -0.1639)
OKLCHoklch(67.51% 0.209 308.3)
XYZxyz(42.4327, 27.5889, 91.0675)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB6AF7 #A6F76A
analogous
#756AF7 #BB6AF7 #F76AED
triadic
#BB6AF7 #F7BB6A #6AF7BB
tetradic
#BB6AF7 #F7756A #A6F76A #6AEDF7
square
#BB6AF7 #F7756A #A6F76A #6AEDF7
split-complementary
#BB6AF7 #EDF76A #6AF775
monochromatic
#830CDB #A030F4 #BB6AF7 #D6A4FA #F0DEFD

Accessibility & contrast

On white

3.22
#BB6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#BB6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB6AF7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB6AF7#FFFFFF#000000##000000
##BB6AF71.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#368CFC
Deuteranopia (green-blind)
#5790F4
Tritanopia (blue-blind)
#B284A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb6af7;
/* rgb */ color: rgb(187, 106, 247);
/* oklch */ color: oklch(67.5% 0.209 308.3);
Tailwind
colors: {
  custom: {
    50: '#d398fa',
    500: '#bb6af7',
    950: '#000000',
  },
}
SCSS
$custom: #bb6af7;
$custom-light: #d398fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb6af7",
  "rgb": {
    "r": 187,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 274.468,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67508,
    "c": 0.20894,
    "h": 308.3
  },
  "luminance": 0.27588
}

Semantic roles & 50–950 ramp

primary
#BB6AF7
secondary
#DBF3CA
accent
#E60062
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BB6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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