#BB7EE8#BB7EE8

#BB7EE8 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.7% C 0.161 H 309.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#BB7EE8
RGBrgb(187, 126, 232)
HSLhsl(275, 70%, 70%)
HSVhsv(275, 46%, 91%)
CMYKcmyk(19.4%, 45.7%, 0%, 9%)
CIE-LABlab(62.77, 42.86, -44.76)
CIE-LCHlch(62.77, 61.97, 313.76°)
OKLaboklab(69.66% 0.1022 -0.1247)
OKLCHoklch(69.66% 0.161 309.3)
XYZxyz(42.5171, 31.3133, 80.1326)
Luminance0.3131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EE8 #ABE87E
analogous
#867EE8 #BB7EE8 #E87EE0
triadic
#BB7EE8 #E8BB7E #7EE8BB
tetradic
#BB7EE8 #E8867E #ABE87E #7EE0E8
square
#BB7EE8 #E8867E #ABE87E #7EE0E8
split-complementary
#BB7EE8 #E0E87E #7EE886
monochromatic
#8224C8 #A04ADF #BB7EE8 #D6B2F1 #F1E5FA

Accessibility & contrast

On white

2.89
#BB7EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#BB7EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EE8
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EE8#FFFFFF#000000##000000
##BB7EE81.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EC
Deuteranopia (green-blind)
#7599E5
Tritanopia (blue-blind)
#B58FA8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7ee8;
/* rgb */ color: rgb(187, 126, 232);
/* oklch */ color: oklch(69.7% 0.161 309.3);
Tailwind
colors: {
  custom: {
    50: '#d1a5f0',
    500: '#bb7ee8',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ee8;
$custom-light: #d1a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ee8",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 274.528,
    "s": 69.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69664,
    "c": 0.16124,
    "h": 309.3
  },
  "luminance": 0.31313
}

Semantic roles & 50–950 ramp

primary
#BB7EE8
secondary
#DFF0D2
accent
#D21464
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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