#BB7FEB#BB7FEB

#BB7FEB is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.0% C 0.163 H 308.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#BB7FEB
RGBrgb(187, 127, 235)
HSLhsl(273, 73%, 71%)
HSVhsv(273, 46%, 92%)
CMYKcmyk(20.4%, 46%, 0%, 7.8%)
CIE-LABlab(63.13, 42.99, -45.86)
CIE-LCHlch(63.13, 62.85, 313.15°)
OKLaboklab(69.98% 0.1013 -0.1279)
OKLCHoklch(69.98% 0.163 308.4)
XYZxyz(43.0754, 31.7422, 82.4388)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FEB #AFEB7F
analogous
#857FEB #BB7FEB #EB7FE5
triadic
#BB7FEB #EBBB7F #7FEBBB
tetradic
#BB7FEB #EB857F #AFEB7F #7FE5EB
square
#BB7FEB #EB857F #AFEB7F #7FE5EB
split-complementary
#BB7FEB #E5EB7F #7FEB85
monochromatic
#8220CF #9F4AE3 #BB7FEB #D7B4F3 #F1E5FB

Accessibility & contrast

On white

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

On black

7.35
#BB7FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FEB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FEB#FFFFFF#000000##000000
##BB7FEB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EF
Deuteranopia (green-blind)
#749AE8
Tritanopia (blue-blind)
#B491AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7feb;
/* rgb */ color: rgb(187, 127, 235);
/* oklch */ color: oklch(70.0% 0.163 308.4);
Tailwind
colors: {
  custom: {
    50: '#d1a5f2',
    500: '#bb7feb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7feb;
$custom-light: #d1a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7feb",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 273.333,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69978,
    "c": 0.16313,
    "h": 308.4
  },
  "luminance": 0.31742
}

Semantic roles & 50–950 ramp

primary
#BB7FEB
secondary
#E1F1D5
accent
#D51068
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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