#BB7FED#BB7FED

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

Color values

HEX#BB7FED
RGBrgb(187, 127, 237)
HSLhsl(273, 75%, 71%)
HSVhsv(273, 46%, 93%)
CMYKcmyk(21.1%, 46.4%, 0%, 7.1%)
CIE-LABlab(63.23, 43.43, -46.81)
CIE-LCHlch(63.23, 63.86, 312.86°)
OKLaboklab(70.08% 0.1015 -0.1307)
OKLCHoklch(70.08% 0.165 307.8)
XYZxyz(43.3660, 31.8585, 83.9691)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FED #B1ED7F
analogous
#847FED #BB7FED #ED7FE8
triadic
#BB7FED #EDBB7F #7FEDBB
tetradic
#BB7FED #ED847F #B1ED7F #7FE8ED
square
#BB7FED #ED847F #B1ED7F #7FE8ED
split-complementary
#BB7FED #E8ED7F #7FED84
monochromatic
#811ED4 #9E49E5 #BB7FED #D8B5F5 #F1E4FB

Accessibility & contrast

On white

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

On black

7.37
#BB7FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FED
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FED#FFFFFF#000000##000000
##BB7FED1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb7fed;
/* rgb */ color: rgb(187, 127, 237);
/* oklch */ color: oklch(70.1% 0.165 307.8);
Tailwind
colors: {
  custom: {
    50: '#d1a5f3',
    500: '#bb7fed',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fed;
$custom-light: #d1a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fed",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 272.727,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70082,
    "c": 0.16548,
    "h": 307.8
  },
  "luminance": 0.31858
}

Semantic roles & 50–950 ramp

primary
#BB7FED
secondary
#E3F2D6
accent
#D80E6A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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