#BB7CFC#BB7CFC

#BB7CFC is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.4% C 0.188 H 304.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#BB7CFC
RGBrgb(187, 124, 252)
HSLhsl(270, 96%, 74%)
HSVhsv(270, 51%, 99%)
CMYKcmyk(25.8%, 50.8%, 0%, 1.2%)
CIE-LABlab(63.35, 48.44, -54.88)
CIE-LCHlch(63.35, 73.20, 311.44°)
OKLaboklab(70.42% 0.1071 -0.1542)
OKLCHoklch(70.42% 0.188 304.8)
XYZxyz(45.2681, 32.0086, 95.8701)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7CFC #BDFC7C
analogous
#7C7DFC #BB7CFC #FB7CFC
triadic
#BB7CFC #FCBB7C #7CFCBB
tetradic
#BB7CFC #FC7C7D #BDFC7C #7CFCFB
square
#BB7CFC #FC7C7D #BDFC7C #7CFCFB
split-complementary
#BB7CFC #FCFB7C #7DFC7C
monochromatic
#7D06F8 #9C40FB #BB7CFC #DAB8FD #EFE1FE

Accessibility & contrast

On white

2.84
#BB7CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#BB7CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7CFC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7CFC#FFFFFF#000000##000000
##BB7CFC1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#669AF9
Tritanopia (blue-blind)
#B093B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7cfc;
/* rgb */ color: rgb(187, 124, 252);
/* oklch */ color: oklch(70.4% 0.188 304.8);
Tailwind
colors: {
  custom: {
    50: '#d2a3fe',
    500: '#bb7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #bb7cfc;
$custom-light: #d2a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7cfc",
  "rgb": {
    "r": 187,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 269.531,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7042,
    "c": 0.18773,
    "h": 304.8
  },
  "luminance": 0.32008
}

Semantic roles & 50–950 ramp

primary
#BB7CFC
secondary
#E6F7D4
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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