#BB7EF7#BB7EF7

#BB7EF7 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.5% C 0.179 H 305.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#BB7EF7
RGBrgb(187, 126, 247)
HSLhsl(270, 88%, 73%)
HSVhsv(270, 49%, 97%)
CMYKcmyk(24.3%, 49%, 0%, 3.1%)
CIE-LABlab(63.51, 46.23, -51.88)
CIE-LCHlch(63.51, 69.49, 311.70°)
OKLaboklab(70.46% 0.104 -0.1454)
OKLCHoklch(70.46% 0.179 305.6)
XYZxyz(44.7394, 32.2022, 91.8364)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EF7 #BAF77E
analogous
#7E7EF7 #BB7EF7 #F77EF6
triadic
#BB7EF7 #F7BB7E #7EF7BB
tetradic
#BB7EF7 #F77E7E #BAF77E #7EF6F7
square
#BB7EF7 #F77E7E #BAF77E #7EF6F7
split-complementary
#BB7EF7 #F6F77E #7EF77E
monochromatic
#7E0FEC #9D44F3 #BB7EF7 #D9B8FB #F0E2FD

Accessibility & contrast

On white

2.82
#BB7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#BB7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EF7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EF7#FFFFFF#000000##000000
##BB7EF71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#B193AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7ef7;
/* rgb */ color: rgb(187, 126, 247);
/* oklch */ color: oklch(70.5% 0.179 305.6);
Tailwind
colors: {
  custom: {
    50: '#d2a5fa',
    500: '#bb7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ef7;
$custom-light: #d2a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ef7",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 270.248,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70455,
    "c": 0.1788,
    "h": 305.6
  },
  "luminance": 0.32202
}

Semantic roles & 50–950 ramp

primary
#BB7EF7
secondary
#E5F5D6
accent
#E50172
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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