#BB7FF8#BB7FF8

#BB7FF8 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.7% C 0.178 H 305.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#BB7FF8
RGBrgb(187, 127, 248)
HSLhsl(270, 90%, 74%)
HSVhsv(270, 49%, 97%)
CMYKcmyk(24.6%, 48.8%, 0%, 2.7%)
CIE-LABlab(63.77, 45.92, -52.01)
CIE-LCHlch(63.77, 69.39, 311.44°)
OKLaboklab(70.67% 0.1028 -0.1458)
OKLCHoklch(70.67% 0.178 305.2)
XYZxyz(45.0226, 32.5211, 92.6941)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FF8 #BCF87F
analogous
#7F7FF8 #BB7FF8 #F77FF8
triadic
#BB7FF8 #F8BB7F #7FF8BB
tetradic
#BB7FF8 #F87F7F #BCF87F #7FF8F7
square
#BB7FF8 #F87F7F #BCF87F #7FF8F7
split-complementary
#BB7FF8 #F8F77F #7FF87F
monochromatic
#7D0DF0 #9C45F5 #BB7FF8 #DAB9FB #F0E2FD

Accessibility & contrast

On white

2.80
#BB7FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#BB7FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FF8
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FF8#FFFFFF#000000##000000
##BB7FF81.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FC
Deuteranopia (green-blind)
#6C9BF5
Tritanopia (blue-blind)
#B194B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7ff8;
/* rgb */ color: rgb(187, 127, 248);
/* oklch */ color: oklch(70.7% 0.178 305.2);
Tailwind
colors: {
  custom: {
    50: '#d2a5fb',
    500: '#bb7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ff8;
$custom-light: #d2a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ff8",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 269.752,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70666,
    "c": 0.17843,
    "h": 305.2
  },
  "luminance": 0.32521
}

Semantic roles & 50–950 ramp

primary
#BB7FF8
secondary
#E6F5D6
accent
#E60074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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