#BB7EFC#BB7EFC

#BB7EFC is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.7% C 0.185 H 304.5°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#BB7EFC
RGBrgb(187, 126, 252)
HSLhsl(269, 95%, 74%)
HSVhsv(269, 50%, 99%)
CMYKcmyk(25.8%, 50%, 0%, 1.2%)
CIE-LABlab(63.77, 47.38, -54.22)
CIE-LCHlch(63.77, 72.00, 311.15°)
OKLaboklab(70.73% 0.1045 -0.1523)
OKLCHoklch(70.73% 0.185 304.5)
XYZxyz(45.5213, 32.5150, 95.9545)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EFC #BFFC7E
analogous
#7E80FC #BB7EFC #FA7EFC
triadic
#BB7EFC #FCBB7E #7EFCBB
tetradic
#BB7EFC #FC7E80 #BFFC7E #7EFCFA
square
#BB7EFC #FC7E80 #BFFC7E #7EFCFA
split-complementary
#BB7EFC #FCFA7E #80FC7E
monochromatic
#7C06F9 #9B42FB #BB7EFC #DBBAFD #EFE1FE

Accessibility & contrast

On white

2.80
#BB7EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#BB7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EFC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EFC#FFFFFF#000000##000000
##BB7EFC1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#699BF9
Tritanopia (blue-blind)
#B095B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7efc;
/* rgb */ color: rgb(187, 126, 252);
/* oklch */ color: oklch(70.7% 0.185 304.5);
Tailwind
colors: {
  custom: {
    50: '#d2a5fe',
    500: '#bb7efc',
    950: '#000000',
  },
}
SCSS
$custom: #bb7efc;
$custom-light: #d2a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7efc",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 269.048,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70729,
    "c": 0.18467,
    "h": 304.5
  },
  "luminance": 0.32515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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