#BB7FEE#BB7FEE

#BB7FEE is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.1% C 0.167 H 307.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#BB7FEE
RGBrgb(187, 127, 238)
HSLhsl(272, 77%, 72%)
HSVhsv(272, 47%, 93%)
CMYKcmyk(21.4%, 46.6%, 0%, 6.7%)
CIE-LABlab(63.27, 43.66, -47.29)
CIE-LCHlch(63.27, 64.36, 312.71°)
OKLaboklab(70.13% 0.1017 -0.1321)
OKLCHoklch(70.13% 0.167 307.6)
XYZxyz(43.5125, 31.9171, 84.7407)
Luminance0.3192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FEE #B2EE7F
analogous
#847FEE #BB7FEE #EE7FEA
triadic
#BB7FEE #EEBB7F #7FEEBB
tetradic
#BB7FEE #EE847F #B2EE7F #7FEAEE
square
#BB7FEE #EE847F #B2EE7F #7FEAEE
split-complementary
#BB7FEE #EAEE7F #7FEE84
monochromatic
#811CD6 #9E49E7 #BB7FEE #D8B5F5 #F1E4FB

Accessibility & contrast

On white

2.84
#BB7FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#BB7FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FEE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FEE#FFFFFF#000000##000000
##BB7FEE1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#739AEB
Tritanopia (blue-blind)
#B491AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7fee;
/* rgb */ color: rgb(187, 127, 238);
/* oklch */ color: oklch(70.1% 0.167 307.6);
Tailwind
colors: {
  custom: {
    50: '#d1a5f4',
    500: '#bb7fee',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fee;
$custom-light: #d1a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fee",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 272.432,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70134,
    "c": 0.16666,
    "h": 307.6
  },
  "luminance": 0.31917
}

Semantic roles & 50–950 ramp

primary
#BB7FEE
secondary
#E3F3D6
accent
#D90D6A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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