#BB7EEB#BB7EEB

#BB7EEB is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.8% C 0.165 H 308.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#BB7EEB
RGBrgb(187, 126, 235)
HSLhsl(274, 73%, 71%)
HSVhsv(274, 46%, 92%)
CMYKcmyk(20.4%, 46.4%, 0%, 7.8%)
CIE-LABlab(62.92, 43.53, -46.19)
CIE-LCHlch(62.92, 63.47, 313.30°)
OKLaboklab(69.82% 0.1026 -0.1289)
OKLCHoklch(69.82% 0.165 308.5)
XYZxyz(42.9469, 31.4852, 82.3960)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EEB #AEEB7E
analogous
#847EEB #BB7EEB #EB7EE4
triadic
#BB7EEB #EBBB7E #7EEBBB
tetradic
#BB7EEB #EB847E #AEEB7E #7EE4EB
square
#BB7EEB #EB847E #AEEB7E #7EE4EB
split-complementary
#BB7EEB #E4EB7E #7EEB84
monochromatic
#8220CF #9F49E3 #BB7EEB #D7B3F3 #F1E5FB

Accessibility & contrast

On white

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

On black

7.30
#BB7EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EEB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EEB#FFFFFF#000000##000000
##BB7EEB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#B590A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7eeb;
/* rgb */ color: rgb(187, 126, 235);
/* oklch */ color: oklch(69.8% 0.165 308.5);
Tailwind
colors: {
  custom: {
    50: '#d1a5f2',
    500: '#bb7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7eeb;
$custom-light: #d1a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7eeb",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 273.578,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69818,
    "c": 0.16475,
    "h": 308.5
  },
  "luminance": 0.31485
}

Semantic roles & 50–950 ramp

primary
#BB7EEB
secondary
#E1F1D4
accent
#D51067
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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