#BB7EE5#BB7EE5

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

Color values

HEX#BB7EE5
RGBrgb(187, 126, 229)
HSLhsl(276, 66%, 70%)
HSVhsv(276, 45%, 90%)
CMYKcmyk(18.3%, 45%, 0%, 10.2%)
CIE-LABlab(62.63, 42.20, -43.32)
CIE-LCHlch(62.63, 60.48, 314.26°)
OKLaboklab(69.51% 0.1018 -0.1205)
OKLCHoklch(69.51% 0.158 310.2)
XYZxyz(42.0946, 31.1443, 77.9075)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EE5 #A8E57E
analogous
#887EE5 #BB7EE5 #E57EDC
triadic
#BB7EE5 #E5BB7E #7EE5BB
tetradic
#BB7EE5 #E5887E #A8E57E #7EDCE5
square
#BB7EE5 #E5887E #A8E57E #7EDCE5
split-complementary
#BB7EE5 #DCE57E #7EE588
monochromatic
#8327C2 #A04BDB #BB7EE5 #D6B1EF #F1E4FA

Accessibility & contrast

On white

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

On black

7.23
#BB7EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EE5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EE5#FFFFFF#000000##000000
##BB7EE51.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6795E9
Deuteranopia (green-blind)
#7799E2
Tritanopia (blue-blind)
#B68EA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7ee5;
/* rgb */ color: rgb(187, 126, 229);
/* oklch */ color: oklch(69.5% 0.158 310.2);
Tailwind
colors: {
  custom: {
    50: '#d1a5ed',
    500: '#bb7ee5',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ee5;
$custom-light: #d1a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ee5",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 275.534,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69511,
    "c": 0.15776,
    "h": 310.2
  },
  "luminance": 0.31144
}

Semantic roles & 50–950 ramp

primary
#BB7EE5
secondary
#DDEED1
accent
#CE1762
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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