#BB7EE1#BB7EE1

#BB7EE1 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.3% C 0.153 H 311.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#BB7EE1
RGBrgb(187, 126, 225)
HSLhsl(277, 62%, 69%)
HSVhsv(277, 44%, 88%)
CMYKcmyk(16.9%, 44%, 0%, 11.8%)
CIE-LABlab(62.44, 41.33, -41.38)
CIE-LCHlch(62.44, 58.49, 314.97°)
OKLaboklab(69.31% 0.1011 -0.1149)
OKLCHoklch(69.31% 0.153 311.3)
XYZxyz(41.5426, 30.9235, 75.0000)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EE1 #A4E17E
analogous
#8A7EE1 #BB7EE1 #E17ED6
triadic
#BB7EE1 #E1BB7E #7EE1BB
tetradic
#BB7EE1 #E18A7E #A4E17E #7ED6E1
square
#BB7EE1 #E18A7E #A4E17E #7ED6E1
split-complementary
#BB7EE1 #D6E17E #7EE18A
monochromatic
#832BB9 #A14CD5 #BB7EE1 #D5B0ED #EFE1F8

Accessibility & contrast

On white

2.92
#BB7EE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#BB7EE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EE1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EE1#FFFFFF#000000##000000
##BB7EE11.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6994E5
Deuteranopia (green-blind)
#7998DE
Tritanopia (blue-blind)
#B78DA5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7ee1;
/* rgb */ color: rgb(187, 126, 225);
/* oklch */ color: oklch(69.3% 0.153 311.3);
Tailwind
colors: {
  custom: {
    50: '#d1a4eb',
    500: '#bb7ee1',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ee1;
$custom-light: #d1a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ee1",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 225
  },
  "hsl": {
    "h": 276.97,
    "s": 62.264,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69311,
    "c": 0.15311,
    "h": 311.3
  },
  "luminance": 0.30923
}

Semantic roles & 50–950 ramp

primary
#BB7EE1
secondary
#DAECCF
accent
#CA1B5E
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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