#BB7EF8#BB7EF8

#BB7EF8 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.5% C 0.180 H 305.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#BB7EF8
RGBrgb(187, 126, 248)
HSLhsl(270, 90%, 73%)
HSVhsv(270, 49%, 97%)
CMYKcmyk(24.6%, 49.2%, 0%, 2.7%)
CIE-LABlab(63.56, 46.46, -52.35)
CIE-LCHlch(63.56, 69.99, 311.59°)
OKLaboklab(70.51% 0.1041 -0.1468)
OKLCHoklch(70.51% 0.18 305.3)
XYZxyz(44.8941, 32.2641, 92.6512)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EF8 #BBF87E
analogous
#7E7EF8 #BB7EF8 #F87EF8
triadic
#BB7EF8 #F8BB7E #7EF8BB
tetradic
#BB7EF8 #F87E7E #BBF87E #7EF8F8
square
#BB7EF8 #F87E7E #BBF87E #7EF8F8
split-complementary
#BB7EF8 #F8F87E #7EF87E
monochromatic
#7E0DEF #9C44F5 #BB7EF8 #DAB8FB #F0E2FD

Accessibility & contrast

On white

2.82
#BB7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#BB7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EF8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EF8#FFFFFF#000000##000000
##BB7EF81.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#B193B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7ef8;
/* rgb */ color: rgb(187, 126, 248);
/* oklch */ color: oklch(70.5% 0.180 305.3);
Tailwind
colors: {
  custom: {
    50: '#d2a5fb',
    500: '#bb7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ef8;
$custom-light: #d2a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ef8",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 270,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70509,
    "c": 0.17998,
    "h": 305.3
  },
  "luminance": 0.32264
}

Semantic roles & 50–950 ramp

primary
#BB7EF8
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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