#BB7EE9#BB7EE9

#BB7EE9 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.7% C 0.162 H 309.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#BB7EE9
RGBrgb(187, 126, 233)
HSLhsl(274, 71%, 70%)
HSVhsv(274, 46%, 91%)
CMYKcmyk(19.7%, 45.9%, 0%, 8.6%)
CIE-LABlab(62.82, 43.08, -45.24)
CIE-LCHlch(62.82, 62.47, 313.60°)
OKLaboklab(69.72% 0.1023 -0.1261)
OKLCHoklch(69.72% 0.162 309.1)
XYZxyz(42.6596, 31.3703, 80.8828)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EE9 #ACE97E
analogous
#867EE9 #BB7EE9 #E97EE1
triadic
#BB7EE9 #E9BB7E #7EE9BB
tetradic
#BB7EE9 #E9867E #ACE97E #7EE1E9
square
#BB7EE9 #E9867E #ACE97E #7EE1E9
split-complementary
#BB7EE9 #E1E97E #7EE986
monochromatic
#8222CA #9F4AE0 #BB7EE9 #D7B2F2 #F1E5FB

Accessibility & contrast

On white

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

On black

7.27
#BB7EE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EE9
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EE9#FFFFFF#000000##000000
##BB7EE91.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495ED
Deuteranopia (green-blind)
#7599E6
Tritanopia (blue-blind)
#B58FA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7ee9;
/* rgb */ color: rgb(187, 126, 233);
/* oklch */ color: oklch(69.7% 0.162 309.1);
Tailwind
colors: {
  custom: {
    50: '#d1a5f0',
    500: '#bb7ee9',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ee9;
$custom-light: #d1a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ee9",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 233
  },
  "hsl": {
    "h": 274.206,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69715,
    "c": 0.16241,
    "h": 309.1
  },
  "luminance": 0.3137
}

Semantic roles & 50–950 ramp

primary
#BB7EE9
secondary
#DFF0D3
accent
#D31365
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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