#BB7CF4#BB7CF4

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

Color values

HEX#BB7CF4
RGBrgb(187, 124, 244)
HSLhsl(272, 85%, 72%)
HSVhsv(272, 49%, 96%)
CMYKcmyk(23.4%, 49.2%, 0%, 4.3%)
CIE-LABlab(62.94, 46.62, -51.13)
CIE-LCHlch(62.94, 69.20, 312.36°)
OKLaboklab(69.98% 0.1064 -0.1432)
OKLCHoklch(69.98% 0.178 306.6)
XYZxyz(44.0270, 31.5121, 89.3335)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CF4 #B5F47C
analogous
#7F7CF4 #BB7CF4 #F47CF1
triadic
#BB7CF4 #F4BB7C #7CF4BB
tetradic
#BB7CF4 #F47F7C #B5F47C #7CF1F4
square
#BB7CF4 #F47F7C #B5F47C #7CF1F4
split-complementary
#BB7CF4 #F1F47C #7CF47F
monochromatic
#8013E3 #9E44EF #BB7CF4 #D8B4F9 #F0E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB7CF4#FFFFFF#000000##000000
##BB7CF41.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)
#5A96F8
Deuteranopia (green-blind)
#6C99F1
Tritanopia (blue-blind)
#B291AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7cf4;
/* rgb */ color: rgb(187, 124, 244);
/* oklch */ color: oklch(70.0% 0.178 306.6);
Tailwind
colors: {
  custom: {
    50: '#d2a3f8',
    500: '#bb7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cf4;
$custom-light: #d2a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cf4",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 271.5,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6998,
    "c": 0.17842,
    "h": 306.6
  },
  "luminance": 0.31512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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