#BB7EED#BB7EED

#BB7EED is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.9% C 0.167 H 308.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#BB7EED
RGBrgb(187, 126, 237)
HSLhsl(273, 76%, 71%)
HSVhsv(273, 47%, 93%)
CMYKcmyk(21.1%, 46.8%, 0%, 7.1%)
CIE-LABlab(63.01, 43.97, -47.15)
CIE-LCHlch(63.01, 64.47, 313.00°)
OKLaboklab(69.92% 0.1029 -0.1317)
OKLCHoklch(69.92% 0.167 308)
XYZxyz(43.2374, 31.6014, 83.9263)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EED #B0ED7E
analogous
#837EED #BB7EED #ED7EE7
triadic
#BB7EED #EDBB7E #7EEDBB
tetradic
#BB7EED #ED837E #B0ED7E #7EE7ED
square
#BB7EED #ED837E #B0ED7E #7EE7ED
split-complementary
#BB7EED #E7ED7E #7EED83
monochromatic
#811DD3 #9F48E6 #BB7EED #D7B4F4 #F1E4FB

Accessibility & contrast

On white

2.87
#BB7EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#BB7EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EED
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EED#FFFFFF#000000##000000
##BB7EED1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F1
Deuteranopia (green-blind)
#7299EA
Tritanopia (blue-blind)
#B490AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7eed;
/* rgb */ color: rgb(187, 126, 237);
/* oklch */ color: oklch(69.9% 0.167 308.0);
Tailwind
colors: {
  custom: {
    50: '#d1a5f3',
    500: '#bb7eed',
    950: '#000000',
  },
}
SCSS
$custom: #bb7eed;
$custom-light: #d1a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7eed",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 272.973,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69922,
    "c": 0.16709,
    "h": 308
  },
  "luminance": 0.31601
}

Semantic roles & 50–950 ramp

primary
#BB7EED
secondary
#E2F2D5
accent
#D80E69
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7EED

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

Preview Lab → · Contrast checker → · Palette generator →

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