#BB7CFA#BB7CFA

#BB7CFA is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.3% C 0.185 H 305.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#BB7CFA
RGBrgb(187, 124, 250)
HSLhsl(270, 93%, 73%)
HSVhsv(270, 50%, 98%)
CMYKcmyk(25.2%, 50.4%, 0%, 2%)
CIE-LABlab(63.25, 47.99, -53.95)
CIE-LCHlch(63.25, 72.20, 311.65°)
OKLaboklab(70.31% 0.1069 -0.1515)
OKLCHoklch(70.31% 0.185 305.2)
XYZxyz(44.9528, 31.8825, 94.2097)
Luminance0.3188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CFA #BBFA7C
analogous
#7C7CFA #BB7CFA #FA7CFA
triadic
#BB7CFA #FABB7C #7CFABB
tetradic
#BB7CFA #FA7C7C #BBFA7C #7CFAFA
square
#BB7CFA #FA7C7C #BBFA7C #7CFAFA
split-complementary
#BB7CFA #FAFA7C #7CFA7C
monochromatic
#7E09F2 #9C41F8 #BB7CFA #DAB7FC #F0E2FE

Accessibility & contrast

On white

2.85
#BB7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#BB7CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CFA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CFA#FFFFFF#000000##000000
##BB7CFA1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#6899F7
Tritanopia (blue-blind)
#B193B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7cfa;
/* rgb */ color: rgb(187, 124, 250);
/* oklch */ color: oklch(70.3% 0.185 305.2);
Tailwind
colors: {
  custom: {
    50: '#d2a3fc',
    500: '#bb7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cfa;
$custom-light: #d2a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cfa",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 270,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70309,
    "c": 0.1854,
    "h": 305.2
  },
  "luminance": 0.31882
}

Semantic roles & 50–950 ramp

primary
#BB7CFA
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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