#BB7AEF#BB7AEF

#BB7AEF is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.4% C 0.176 H 308.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#BB7AEF
RGBrgb(187, 122, 239)
HSLhsl(273, 79%, 71%)
HSVhsv(273, 49%, 94%)
CMYKcmyk(21.8%, 49%, 0%, 6.3%)
CIE-LABlab(62.27, 46.57, -49.43)
CIE-LCHlch(62.27, 67.91, 313.29°)
OKLaboklab(69.4% 0.1085 -0.1383)
OKLCHoklch(69.4% 0.176 308.1)
XYZxyz(43.0300, 30.7164, 85.3066)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7AEF #AEEF7A
analogous
#807AEF #BB7AEF #EF7AE9
triadic
#BB7AEF #EFBB7A #7AEFBB
tetradic
#BB7AEF #EF807A #AEEF7A #7AE9EF
square
#BB7AEF #EF807A #AEEF7A #7AE9EF
split-complementary
#BB7AEF #E9EF7A #7AEF80
monochromatic
#821AD5 #9F43E8 #BB7AEF #D7B1F6 #F1E4FC

Accessibility & contrast

On white

2.94
#BB7AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#BB7AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7AEF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7AEF#FFFFFF#000000##000000
##BB7AEF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#B48EA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7aef;
/* rgb */ color: rgb(187, 122, 239);
/* oklch */ color: oklch(69.4% 0.176 308.1);
Tailwind
colors: {
  custom: {
    50: '#d2a2f5',
    500: '#bb7aef',
    950: '#000000',
  },
}
SCSS
$custom: #bb7aef;
$custom-light: #d2a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7aef",
  "rgb": {
    "r": 187,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 273.333,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.694,
    "c": 0.17577,
    "h": 308.1
  },
  "luminance": 0.30716
}

Semantic roles & 50–950 ramp

primary
#BB7AEF
secondary
#E1F2D3
accent
#DB0B67
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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