#BB7BEA#BB7BEA

#BB7BEA is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.168 H 309.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#BB7BEA
RGBrgb(187, 123, 234)
HSLhsl(275, 73%, 70%)
HSVhsv(275, 47%, 92%)
CMYKcmyk(20.1%, 47.4%, 0%, 8.2%)
CIE-LABlab(62.23, 44.92, -46.72)
CIE-LCHlch(62.23, 64.81, 313.87°)
OKLaboklab(69.29% 0.1066 -0.1304)
OKLCHoklch(69.29% 0.168 309.3)
XYZxyz(42.4249, 30.6718, 81.5113)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BEA #AAEA7B
analogous
#847BEA #BB7BEA #EA7BE1
triadic
#BB7BEA #EABB7B #7BEABB
tetradic
#BB7BEA #EA847B #AAEA7B #7BE1EA
square
#BB7BEA #EA847B #AAEA7B #7BE1EA
split-complementary
#BB7BEA #E1EA7B #7BEA84
monochromatic
#8220CA #A046E2 #BB7BEA #D6B0F2 #F1E5FB

Accessibility & contrast

On white

2.94
#BB7BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#BB7BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BEA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BEA#FFFFFF#000000##000000
##BB7BEA1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EE
Deuteranopia (green-blind)
#7197E7
Tritanopia (blue-blind)
#B58DA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7bea;
/* rgb */ color: rgb(187, 123, 234);
/* oklch */ color: oklch(69.3% 0.168 309.3);
Tailwind
colors: {
  custom: {
    50: '#d1a3f1',
    500: '#bb7bea',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bea;
$custom-light: #d1a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bea",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 274.595,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.69291,
    "c": 0.16842,
    "h": 309.3
  },
  "luminance": 0.30671
}

Semantic roles & 50–950 ramp

primary
#BB7BEA
secondary
#DEF0D1
accent
#D51164
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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