#BB7EE4#BB7EE4

#BB7EE4 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.5% C 0.157 H 310.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#BB7EE4
RGBrgb(187, 126, 228)
HSLhsl(276, 65%, 69%)
HSVhsv(276, 45%, 89%)
CMYKcmyk(18%, 44.7%, 0%, 10.6%)
CIE-LABlab(62.58, 41.99, -42.83)
CIE-LCHlch(62.58, 59.98, 314.43°)
OKLaboklab(69.46% 0.1016 -0.1191)
OKLCHoklch(69.46% 0.157 310.5)
XYZxyz(41.9554, 31.0886, 77.1743)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EE4 #A7E47E
analogous
#887EE4 #BB7EE4 #E47EDA
triadic
#BB7EE4 #E4BB7E #7EE4BB
tetradic
#BB7EE4 #E4887E #A7E47E #7EDAE4
square
#BB7EE4 #E4887E #A7E47E #7EDAE4
split-complementary
#BB7EE4 #DAE47E #7EE488
monochromatic
#8328C0 #A04BD9 #BB7EE4 #D6B1EF #F0E3F9

Accessibility & contrast

On white

2.91
#BB7EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#BB7EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EE4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EE4#FFFFFF#000000##000000
##BB7EE41.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6794E8
Deuteranopia (green-blind)
#7799E1
Tritanopia (blue-blind)
#B68EA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7ee4;
/* rgb */ color: rgb(187, 126, 228);
/* oklch */ color: oklch(69.5% 0.157 310.5);
Tailwind
colors: {
  custom: {
    50: '#d1a5ed',
    500: '#bb7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ee4;
$custom-light: #d1a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ee4",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 275.882,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69461,
    "c": 0.15659,
    "h": 310.5
  },
  "luminance": 0.31088
}

Semantic roles & 50–950 ramp

primary
#BB7EE4
secondary
#DCEED0
accent
#CD1861
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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