#BB7BE2#BB7BE2

#BB7BE2 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.9% C 0.159 H 311.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#BB7BE2
RGBrgb(187, 123, 226)
HSLhsl(277, 64%, 68%)
HSVhsv(277, 46%, 89%)
CMYKcmyk(17.3%, 45.6%, 0%, 11.4%)
CIE-LABlab(61.85, 43.17, -42.88)
CIE-LCHlch(61.85, 60.85, 315.20°)
OKLaboklab(68.88% 0.1055 -0.1193)
OKLCHoklch(68.88% 0.159 311.5)
XYZxyz(41.3015, 30.2225, 75.5945)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BE2 #A2E27B
analogous
#877BE2 #BB7BE2 #E27BD5
triadic
#BB7BE2 #E2BB7B #7BE2BB
tetradic
#BB7BE2 #E2877B #A2E27B #7BD5E2
square
#BB7BE2 #E2877B #A2E27B #7BD5E2
split-complementary
#BB7BE2 #D5E27B #7BE287
monochromatic
#8329BA #A149D7 #BB7BE2 #D5ADED #EFDFF8

Accessibility & contrast

On white

2.98
#BB7BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#BB7BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BE2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BE2#FFFFFF#000000##000000
##BB7BE21.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#B78BA4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb7be2;
/* rgb */ color: rgb(187, 123, 226);
/* oklch */ color: oklch(68.9% 0.159 311.5);
Tailwind
colors: {
  custom: {
    50: '#d1a2eb',
    500: '#bb7be2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7be2;
$custom-light: #d1a2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7be2",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 277.282,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68879,
    "c": 0.15922,
    "h": 311.5
  },
  "luminance": 0.30222
}

Semantic roles & 50–950 ramp

primary
#BB7BE2
secondary
#D9ECCD
accent
#CC1A5D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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