#BB7CF8#BB7CF8

#BB7CF8 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.183 H 305.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#BB7CF8
RGBrgb(187, 124, 248)
HSLhsl(270, 90%, 73%)
HSVhsv(270, 50%, 97%)
CMYKcmyk(24.6%, 50%, 0%, 2.7%)
CIE-LABlab(63.14, 47.53, -53.01)
CIE-LCHlch(63.14, 71.20, 311.88°)
OKLaboklab(70.2% 0.1067 -0.1487)
OKLCHoklch(70.2% 0.183 305.7)
XYZxyz(44.6409, 31.7577, 92.5668)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CF8 #B9F87C
analogous
#7D7CF8 #BB7CF8 #F87CF7
triadic
#BB7CF8 #F8BB7C #7CF8BB
tetradic
#BB7CF8 #F87D7C #B9F87C #7CF7F8
square
#BB7CF8 #F87D7C #B9F87C #7CF7F8
split-complementary
#BB7CF8 #F7F87C #7CF87D
monochromatic
#7F0DED #9D42F5 #BB7CF8 #D9B6FB #F0E2FD

Accessibility & contrast

On white

2.86
#BB7CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#BB7CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CF8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CF8#FFFFFF#000000##000000
##BB7CF81.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#B192AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7cf8;
/* rgb */ color: rgb(187, 124, 248);
/* oklch */ color: oklch(70.2% 0.183 305.7);
Tailwind
colors: {
  custom: {
    50: '#d2a3fb',
    500: '#bb7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cf8;
$custom-light: #d2a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cf8",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 270.484,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70198,
    "c": 0.18307,
    "h": 305.7
  },
  "luminance": 0.31757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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