#BB7EEA#BB7EEA

#BB7EEA is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.8% C 0.164 H 308.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#BB7EEA
RGBrgb(187, 126, 234)
HSLhsl(274, 72%, 71%)
HSVhsv(274, 46%, 92%)
CMYKcmyk(20.1%, 46.2%, 0%, 8.2%)
CIE-LABlab(62.87, 43.31, -45.72)
CIE-LCHlch(62.87, 62.97, 313.45°)
OKLaboklab(69.77% 0.1025 -0.1275)
OKLCHoklch(69.77% 0.164 308.8)
XYZxyz(42.8028, 31.4276, 81.6372)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EEA #ADEA7E
analogous
#857EEA #BB7EEA #EA7EE3
triadic
#BB7EEA #EABB7E #7EEABB
tetradic
#BB7EEA #EA857E #ADEA7E #7EE3EA
square
#BB7EEA #EA857E #ADEA7E #7EE3EA
split-complementary
#BB7EEA #E3EA7E #7EEA85
monochromatic
#8221CC #9F49E1 #BB7EEA #D7B3F3 #F1E5FB

Accessibility & contrast

On white

2.88
#BB7EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#BB7EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EEA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EEA#FFFFFF#000000##000000
##BB7EEA1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495EE
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#B58FA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7eea;
/* rgb */ color: rgb(187, 126, 234);
/* oklch */ color: oklch(69.8% 0.164 308.8);
Tailwind
colors: {
  custom: {
    50: '#d1a5f1',
    500: '#bb7eea',
    950: '#000000',
  },
}
SCSS
$custom: #bb7eea;
$custom-light: #d1a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7eea",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 273.889,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.16358,
    "h": 308.8
  },
  "luminance": 0.31427
}

Semantic roles & 50–950 ramp

primary
#BB7EEA
secondary
#E0F1D3
accent
#D41166
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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