#BB7EFB#BB7EFB

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

Color values

HEX#BB7EFB
RGBrgb(187, 126, 251)
HSLhsl(269, 94%, 74%)
HSVhsv(269, 50%, 98%)
CMYKcmyk(25.5%, 49.8%, 0%, 1.6%)
CIE-LABlab(63.71, 47.15, -53.75)
CIE-LCHlch(63.71, 71.50, 311.25°)
OKLaboklab(70.67% 0.1044 -0.1509)
OKLCHoklch(70.67% 0.184 304.7)
XYZxyz(45.3632, 32.4518, 95.1221)
Luminance0.3245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EFB #BEFB7E
analogous
#7E80FB #BB7EFB #FA7EFB
triadic
#BB7EFB #FBBB7E #7EFBBB
tetradic
#BB7EFB #FB7E80 #BEFB7E #7EFBFA
square
#BB7EFB #FB7E80 #BEFB7E #7EFBFA
split-complementary
#BB7EFB #FBFA7E #80FB7E
monochromatic
#7C08F7 #9C43F9 #BB7EFB #DAB9FD #EFE1FE

Accessibility & contrast

On white

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

On black

7.49
#BB7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EFB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EFB#FFFFFF#000000##000000
##BB7EFB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#B094B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7efb;
/* rgb */ color: rgb(187, 126, 251);
/* oklch */ color: oklch(70.7% 0.183 304.7);
Tailwind
colors: {
  custom: {
    50: '#d2a5fd',
    500: '#bb7efb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7efb;
$custom-light: #d2a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7efb",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 269.28,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70674,
    "c": 0.1835,
    "h": 304.7
  },
  "luminance": 0.32452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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