#BB7AF3#BB7AF3

#BB7AF3 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.6% C 0.180 H 307.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#BB7AF3
RGBrgb(187, 122, 243)
HSLhsl(272, 83%, 72%)
HSVhsv(272, 50%, 95%)
CMYKcmyk(23%, 49.8%, 0%, 4.7%)
CIE-LABlab(62.47, 47.46, -51.32)
CIE-LCHlch(62.47, 69.90, 312.76°)
OKLaboklab(69.62% 0.1089 -0.1438)
OKLCHoklch(69.62% 0.18 307.1)
XYZxyz(43.6274, 30.9554, 88.4533)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AF3 #B2F37A
analogous
#7F7AF3 #BB7AF3 #F37AEF
triadic
#BB7AF3 #F3BB7A #7AF3BB
tetradic
#BB7AF3 #F37F7A #B2F37A #7AEFF3
square
#BB7AF3 #F37F7A #B2F37A #7AEFF3
split-complementary
#BB7AF3 #EFF37A #7AF37F
monochromatic
#8114DF #9E42EE #BB7AF3 #D8B2F8 #F1E3FC

Accessibility & contrast

On white

2.92
#BB7AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#BB7AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AF3
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AF3#FFFFFF#000000##000000
##BB7AF31.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5895F7
Deuteranopia (green-blind)
#6B98F0
Tritanopia (blue-blind)
#B38FAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7af3;
/* rgb */ color: rgb(187, 122, 243);
/* oklch */ color: oklch(69.6% 0.180 307.1);
Tailwind
colors: {
  custom: {
    50: '#d2a2f7',
    500: '#bb7af3',
    950: '#000000',
  },
}
SCSS
$custom: #bb7af3;
$custom-light: #d2a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7af3",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 243
  },
  "hsl": {
    "h": 272.231,
    "s": 83.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69616,
    "c": 0.18037,
    "h": 307.1
  },
  "luminance": 0.30955
}

Semantic roles & 50–950 ramp

primary
#BB7AF3
secondary
#E3F4D5
accent
#E0066B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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