#BB7FFF#BB7FFF

#BB7FFF is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.1% C 0.187 H 303.7°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#BB7FFF
RGBrgb(187, 127, 255)
HSLhsl(268, 100%, 75%)
HSVhsv(268, 50%, 100%)
CMYKcmyk(26.7%, 50.2%, 0%, 0%)
CIE-LABlab(64.13, 47.54, -55.29)
CIE-LCHlch(64.13, 72.91, 310.69°)
OKLaboklab(71.05% 0.1035 -0.1554)
OKLCHoklch(71.05% 0.187 303.7)
XYZxyz(46.1289, 32.9636, 98.5208)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FFF #C3FF7F
analogous
#7F83FF #BB7FFF #FB7FFF
triadic
#BB7FFF #FFBB7F #7FFFBB
tetradic
#BB7FFF #FF7F83 #C3FF7F #7FFFFB
square
#BB7FFF #FF7F83 #C3FF7F #7FFFFB
split-complementary
#BB7FFF #FFFB7F #83FF7F
monochromatic
#7A05FF #9A42FF #BB7FFF #DCBCFF #EFE0FF

Accessibility & contrast

On white

2.77
#BB7FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#BB7FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FFF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FFF#FFFFFF#000000##000000
##BB7FFF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#689BFC
Tritanopia (blue-blind)
#AF96B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb7fff;
/* rgb */ color: rgb(187, 127, 255);
/* oklch */ color: oklch(71.1% 0.187 303.7);
Tailwind
colors: {
  custom: {
    50: '#d2a5ff',
    500: '#bb7fff',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fff;
$custom-light: #d2a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fff",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 255
  },
  "hsl": {
    "h": 268.125,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71051,
    "c": 0.18666,
    "h": 303.7
  },
  "luminance": 0.32964
}

Semantic roles & 50–950 ramp

primary
#BB7FFF
secondary
#E7F7D4
accent
#E6007A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB7FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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