#BB7EE2#BB7EE2

#BB7EE2 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.4% C 0.154 H 311.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#BB7EE2
RGBrgb(187, 126, 226)
HSLhsl(277, 63%, 69%)
HSVhsv(277, 44%, 89%)
CMYKcmyk(17.3%, 44.2%, 0%, 11.4%)
CIE-LABlab(62.49, 41.55, -41.87)
CIE-LCHlch(62.49, 58.99, 314.78°)
OKLaboklab(69.36% 0.1013 -0.1163)
OKLCHoklch(69.36% 0.154 311)
XYZxyz(41.6794, 30.9782, 75.7205)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EE2 #A5E27E
analogous
#897EE2 #BB7EE2 #E27ED7
triadic
#BB7EE2 #E2BB7E #7EE2BB
tetradic
#BB7EE2 #E2897E #A5E27E #7ED7E2
square
#BB7EE2 #E2897E #A5E27E #7ED7E2
split-complementary
#BB7EE2 #D7E27E #7EE289
monochromatic
#832ABB #A14CD7 #BB7EE2 #D5B0ED #F0E2F8

Accessibility & contrast

On white

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

On black

7.20
#BB7EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EE2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EE2#FFFFFF#000000##000000
##BB7EE21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#7898DF
Tritanopia (blue-blind)
#B78DA5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7ee2;
/* rgb */ color: rgb(187, 126, 226);
/* oklch */ color: oklch(69.4% 0.154 311.0);
Tailwind
colors: {
  custom: {
    50: '#d1a4eb',
    500: '#bb7ee2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ee2;
$custom-light: #d1a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ee2",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 276.6,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69361,
    "c": 0.15427,
    "h": 311
  },
  "luminance": 0.30977
}

Semantic roles & 50–950 ramp

primary
#BB7EE2
secondary
#DBEDCF
accent
#CB1A5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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