#BB7CF5#BB7CF5

#BB7CF5 is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.0% C 0.180 H 306.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#BB7CF5
RGBrgb(187, 124, 245)
HSLhsl(271, 86%, 72%)
HSVhsv(271, 49%, 96%)
CMYKcmyk(23.7%, 49.4%, 0%, 3.9%)
CIE-LABlab(62.99, 46.85, -51.60)
CIE-LCHlch(62.99, 69.70, 312.23°)
OKLaboklab(70.03% 0.1065 -0.1446)
OKLCHoklch(70.03% 0.18 306.4)
XYZxyz(44.1792, 31.5730, 90.1353)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CF5 #B6F57C
analogous
#7F7CF5 #BB7CF5 #F57CF2
triadic
#BB7CF5 #F5BB7C #7CF5BB
tetradic
#BB7CF5 #F57F7C #B6F57C #7CF2F5
square
#BB7CF5 #F57F7C #B6F57C #7CF2F5
split-complementary
#BB7CF5 #F2F57C #7CF57F
monochromatic
#8011E5 #9D43F1 #BB7CF5 #D9B5F9 #F0E3FD

Accessibility & contrast

On white

2.87
#BB7CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#BB7CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CF5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CF5#FFFFFF#000000##000000
##BB7CF51.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F9
Deuteranopia (green-blind)
#6B99F2
Tritanopia (blue-blind)
#B291AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7cf5;
/* rgb */ color: rgb(187, 124, 245);
/* oklch */ color: oklch(70.0% 0.180 306.4);
Tailwind
colors: {
  custom: {
    50: '#d2a3f9',
    500: '#bb7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cf5;
$custom-light: #d2a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cf5",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 271.24,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70034,
    "c": 0.17958,
    "h": 306.4
  },
  "luminance": 0.31573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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