#BB7BF5#BB7BF5

#BB7BF5 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.181 H 306.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#BB7BF5
RGBrgb(187, 123, 245)
HSLhsl(271, 86%, 72%)
HSVhsv(271, 50%, 96%)
CMYKcmyk(23.7%, 49.8%, 0%, 3.9%)
CIE-LABlab(62.78, 47.38, -51.93)
CIE-LCHlch(62.78, 70.30, 312.37°)
OKLaboklab(69.88% 0.1078 -0.1456)
OKLCHoklch(69.88% 0.181 306.5)
XYZxyz(44.0545, 31.3237, 90.0937)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BF5 #B5F57B
analogous
#7E7BF5 #BB7BF5 #F57BF2
triadic
#BB7BF5 #F5BB7B #7BF5BB
tetradic
#BB7BF5 #F57E7B #B5F57B #7BF2F5
square
#BB7BF5 #F57E7B #B5F57B #7BF2F5
split-complementary
#BB7BF5 #F2F57B #7BF57E
monochromatic
#8011E4 #9E42F1 #BB7BF5 #D8B4F9 #F0E3FD

Accessibility & contrast

On white

2.89
#BB7BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#BB7BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BF5
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BF5#FFFFFF#000000##000000
##BB7BF51.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896F9
Deuteranopia (green-blind)
#6A98F2
Tritanopia (blue-blind)
#B290AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7bf5;
/* rgb */ color: rgb(187, 123, 245);
/* oklch */ color: oklch(69.9% 0.181 306.5);
Tailwind
colors: {
  custom: {
    50: '#d2a3f9',
    500: '#bb7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bf5;
$custom-light: #d2a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bf5",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 271.475,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69879,
    "c": 0.18114,
    "h": 306.5
  },
  "luminance": 0.31323
}

Semantic roles & 50–950 ramp

primary
#BB7BF5
secondary
#E5F5D6
accent
#E2036D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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