#BB7EFD#BB7EFD

#BB7EFD is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.8% C 0.186 H 304.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#BB7EFD
RGBrgb(187, 126, 253)
HSLhsl(269, 97%, 74%)
HSVhsv(269, 50%, 99%)
CMYKcmyk(26.1%, 50.2%, 0%, 0.8%)
CIE-LABlab(63.82, 47.61, -54.69)
CIE-LCHlch(63.82, 72.51, 311.04°)
OKLaboklab(70.78% 0.1046 -0.1536)
OKLCHoklch(70.78% 0.186 304.2)
XYZxyz(45.6802, 32.5785, 96.7912)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EFD #C0FD7E
analogous
#7E81FD #BB7EFD #FB7EFD
triadic
#BB7EFD #FDBB7E #7EFDBB
tetradic
#BB7EFD #FD7E81 #C0FD7E #7EFDFB
square
#BB7EFD #FD7E81 #C0FD7E #7EFDFB
split-complementary
#BB7EFD #FDFB7E #81FD7E
monochromatic
#7B05FB #9B42FC #BB7EFD #DBBAFE #EFE1FF

Accessibility & contrast

On white

2.79
#BB7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#BB7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EFD
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EFD#FFFFFF#000000##000000
##BB7EFD1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#B095B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb7efd;
/* rgb */ color: rgb(187, 126, 253);
/* oklch */ color: oklch(70.8% 0.186 304.2);
Tailwind
colors: {
  custom: {
    50: '#d2a5fe',
    500: '#bb7efd',
    950: '#000000',
  },
}
SCSS
$custom: #bb7efd;
$custom-light: #d2a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7efd",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 268.819,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70784,
    "c": 0.18584,
    "h": 304.2
  },
  "luminance": 0.32578
}

Semantic roles & 50–950 ramp

primary
#BB7EFD
secondary
#E6F7D4
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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