#BB7EF9#BB7EF9

#BB7EF9 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.6% C 0.181 H 305.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#BB7EF9
RGBrgb(187, 126, 249)
HSLhsl(270, 91%, 74%)
HSVhsv(270, 49%, 98%)
CMYKcmyk(24.9%, 49.4%, 0%, 2.4%)
CIE-LABlab(63.61, 46.69, -52.82)
CIE-LCHlch(63.61, 70.49, 311.47°)
OKLaboklab(70.56% 0.1042 -0.1482)
OKLCHoklch(70.56% 0.181 305.1)
XYZxyz(45.0496, 32.3263, 93.4705)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EF9 #BCF97E
analogous
#7E7EF9 #BB7EF9 #F87EF9
triadic
#BB7EF9 #F9BB7E #7EF9BB
tetradic
#BB7EF9 #F97E7E #BCF97E #7EF9F8
square
#BB7EF9 #F97E7E #BCF97E #7EF9F8
split-complementary
#BB7EF9 #F9F87E #7EF97E
monochromatic
#7D0BF1 #9C44F6 #BB7EF9 #DAB8FC #F0E2FE

Accessibility & contrast

On white

2.81
#BB7EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#BB7EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EF9
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EF9#FFFFFF#000000##000000
##BB7EF91.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FD
Deuteranopia (green-blind)
#6B9AF6
Tritanopia (blue-blind)
#B194B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7ef9;
/* rgb */ color: rgb(187, 126, 249);
/* oklch */ color: oklch(70.6% 0.181 305.1);
Tailwind
colors: {
  custom: {
    50: '#d2a5fc',
    500: '#bb7ef9',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ef9;
$custom-light: #d2a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ef9",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 269.756,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70564,
    "c": 0.18115,
    "h": 305.1
  },
  "luminance": 0.32326
}

Semantic roles & 50–950 ramp

primary
#BB7EF9
secondary
#E6F6D5
accent
#E60074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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