#BB7FEA#BB7FEA

#BB7FEA is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.9% C 0.162 H 308.6°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#BB7FEA
RGBrgb(187, 127, 234)
HSLhsl(274, 72%, 71%)
HSVhsv(274, 46%, 92%)
CMYKcmyk(20.1%, 45.7%, 0%, 8.2%)
CIE-LABlab(63.08, 42.76, -45.38)
CIE-LCHlch(63.08, 62.35, 313.30°)
OKLaboklab(69.93% 0.1011 -0.1265)
OKLCHoklch(69.93% 0.162 308.6)
XYZxyz(42.9313, 31.6846, 81.6801)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FEA #AEEA7F
analogous
#857FEA #BB7FEA #EA7FE3
triadic
#BB7FEA #EABB7F #7FEABB
tetradic
#BB7FEA #EA857F #AEEA7F #7FE3EA
square
#BB7FEA #EA857F #AEEA7F #7FE3EA
split-complementary
#BB7FEA #E3EA7F #7FEA85
monochromatic
#8222CD #9F4AE1 #BB7FEA #D7B4F3 #F1E5FB

Accessibility & contrast

On white

2.86
#BB7FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#BB7FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FEA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FEA#FFFFFF#000000##000000
##BB7FEA1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EE
Deuteranopia (green-blind)
#759AE7
Tritanopia (blue-blind)
#B590A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7fea;
/* rgb */ color: rgb(187, 127, 234);
/* oklch */ color: oklch(69.9% 0.162 308.6);
Tailwind
colors: {
  custom: {
    50: '#d1a5f1',
    500: '#bb7fea',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fea;
$custom-light: #d1a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fea",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 273.645,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69927,
    "c": 0.16196,
    "h": 308.6
  },
  "luminance": 0.31684
}

Semantic roles & 50–950 ramp

primary
#BB7FEA
secondary
#E1F1D4
accent
#D41267
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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