#BB7EEC#BB7EEC

#BB7EEC is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.166 H 308.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#BB7EEC
RGBrgb(187, 126, 236)
HSLhsl(273, 74%, 71%)
HSVhsv(273, 47%, 93%)
CMYKcmyk(20.8%, 46.6%, 0%, 7.5%)
CIE-LABlab(62.96, 43.75, -46.67)
CIE-LCHlch(62.96, 63.97, 313.15°)
OKLaboklab(69.87% 0.1028 -0.1303)
OKLCHoklch(69.87% 0.166 308.3)
XYZxyz(43.0918, 31.5432, 83.1590)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EEC #AFEC7E
analogous
#847EEC #BB7EEC #EC7EE6
triadic
#BB7EEC #ECBB7E #7EECBB
tetradic
#BB7EEC #EC847E #AFEC7E #7EE6EC
square
#BB7EEC #EC847E #AFEC7E #7EE6EC
split-complementary
#BB7EEC #E6EC7E #7EEC84
monochromatic
#821FD1 #9F49E4 #BB7EEC #D7B3F4 #F1E4FB

Accessibility & contrast

On white

2.87
#BB7EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#BB7EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EEC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EEC#FFFFFF#000000##000000
##BB7EEC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#B490AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7eec;
/* rgb */ color: rgb(187, 126, 236);
/* oklch */ color: oklch(69.9% 0.166 308.3);
Tailwind
colors: {
  custom: {
    50: '#d1a5f2',
    500: '#bb7eec',
    950: '#000000',
  },
}
SCSS
$custom: #bb7eec;
$custom-light: #d1a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7eec",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 273.273,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6987,
    "c": 0.16592,
    "h": 308.3
  },
  "luminance": 0.31543
}

Semantic roles & 50–950 ramp

primary
#BB7EEC
secondary
#E1F2D4
accent
#D60F68
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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