#BB7FEC#BB7FEC

#BB7FEC is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.0% C 0.164 H 308.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#BB7FEC
RGBrgb(187, 127, 236)
HSLhsl(273, 74%, 71%)
HSVhsv(273, 46%, 93%)
CMYKcmyk(20.8%, 46.2%, 0%, 7.5%)
CIE-LABlab(63.18, 43.21, -46.33)
CIE-LCHlch(63.18, 63.36, 313.00°)
OKLaboklab(70.03% 0.1014 -0.1293)
OKLCHoklch(70.03% 0.164 308.1)
XYZxyz(43.2203, 31.8002, 83.2018)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FEC #B0EC7F
analogous
#847FEC #BB7FEC #EC7FE6
triadic
#BB7FEC #ECBB7F #7FECBB
tetradic
#BB7FEC #EC847F #B0EC7F #7FE6EC
square
#BB7FEC #EC847F #B0EC7F #7FE6EC
split-complementary
#BB7FEC #E6EC7F #7FEC84
monochromatic
#811FD2 #9F4AE4 #BB7FEC #D7B4F4 #F1E4FB

Accessibility & contrast

On white

2.85
#BB7FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#BB7FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FEC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FEC#FFFFFF#000000##000000
##BB7FEC1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#749AE9
Tritanopia (blue-blind)
#B491AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7fec;
/* rgb */ color: rgb(187, 127, 236);
/* oklch */ color: oklch(70.0% 0.164 308.1);
Tailwind
colors: {
  custom: {
    50: '#d1a5f2',
    500: '#bb7fec',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fec;
$custom-light: #d1a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fec",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 273.028,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7003,
    "c": 0.16431,
    "h": 308.1
  },
  "luminance": 0.318
}

Semantic roles & 50–950 ramp

primary
#BB7FEC
secondary
#E2F2D5
accent
#D60F69
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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