#BB7FFC#BB7FFC

#BB7FFC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.9% C 0.183 H 304.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#BB7FFC
RGBrgb(187, 127, 252)
HSLhsl(269, 95%, 74%)
HSVhsv(269, 50%, 99%)
CMYKcmyk(25.8%, 49.6%, 0%, 1.2%)
CIE-LABlab(63.98, 46.84, -53.89)
CIE-LCHlch(63.98, 71.40, 311.00°)
OKLaboklab(70.88% 0.1032 -0.1513)
OKLCHoklch(70.88% 0.183 304.3)
XYZxyz(45.6498, 32.7720, 95.9973)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FFC #C0FC7F
analogous
#7F82FC #BB7FFC #FA7FFC
triadic
#BB7FFC #FCBB7F #7FFCBB
tetradic
#BB7FFC #FC7F82 #C0FC7F #7FFCFA
square
#BB7FFC #FC7F82 #C0FC7F #7FFCFA
split-complementary
#BB7FFC #FCFA7F #82FC7F
monochromatic
#7B07F9 #9B43FB #BB7FFC #DBBBFD #EFE1FE

Accessibility & contrast

On white

2.78
#BB7FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#BB7FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FFC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FFC#FFFFFF#000000##000000
##BB7FFC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#6A9BF9
Tritanopia (blue-blind)
#B095B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb7ffc;
/* rgb */ color: rgb(187, 127, 252);
/* oklch */ color: oklch(70.9% 0.183 304.3);
Tailwind
colors: {
  custom: {
    50: '#d2a5fe',
    500: '#bb7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ffc;
$custom-light: #d2a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ffc",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 268.8,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70885,
    "c": 0.18314,
    "h": 304.3
  },
  "luminance": 0.32772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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