#BB7BF8#BB7BF8

#BB7BF8 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.0% C 0.185 H 305.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#BB7BF8
RGBrgb(187, 123, 248)
HSLhsl(271, 90%, 73%)
HSVhsv(271, 50%, 97%)
CMYKcmyk(24.6%, 50.4%, 0%, 2.7%)
CIE-LABlab(62.93, 48.06, -53.34)
CIE-LCHlch(62.93, 71.80, 312.02°)
OKLaboklab(70.04% 0.1081 -0.1497)
OKLCHoklch(70.04% 0.185 305.8)
XYZxyz(44.5162, 31.5084, 92.5253)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BF8 #B8F87B
analogous
#7C7BF8 #BB7BF8 #F87BF6
triadic
#BB7BF8 #F8BB7B #7BF8BB
tetradic
#BB7BF8 #F87C7B #B8F87B #7BF6F8
square
#BB7BF8 #F87C7B #B8F87B #7BF6F8
split-complementary
#BB7BF8 #F6F87B #7BF87C
monochromatic
#7F0DEC #9D41F5 #BB7BF8 #D9B5FB #F0E2FD

Accessibility & contrast

On white

2.88
#BB7BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#BB7BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BF8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BF8#FFFFFF#000000##000000
##BB7BF81.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#6899F5
Tritanopia (blue-blind)
#B191AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7bf8;
/* rgb */ color: rgb(187, 123, 248);
/* oklch */ color: oklch(70.0% 0.185 305.8);
Tailwind
colors: {
  custom: {
    50: '#d2a3fb',
    500: '#bb7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bf8;
$custom-light: #d2a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bf8",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 270.72,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70044,
    "c": 0.18461,
    "h": 305.8
  },
  "luminance": 0.31508
}

Semantic roles & 50–950 ramp

primary
#BB7BF8
secondary
#E5F6D5
accent
#E60070
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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