#BB9EF7#BB9EF7

#BB9EF7 is a light, vivid violet. Relative luminance 0.417; OKLCH L 75.9% C 0.128 H 298.3°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#BB9EF7
RGBrgb(187, 158, 247)
HSLhsl(260, 85%, 79%)
HSVhsv(260, 36%, 97%)
CMYKcmyk(24.3%, 36%, 0%, 3.1%)
CIE-LABlab(70.69, 28.64, -40.59)
CIE-LCHlch(70.69, 49.68, 305.21°)
OKLaboklab(75.86% 0.0607 -0.1128)
OKLCHoklch(75.86% 0.128 298.3)
XYZxyz(49.5050, 41.7336, 93.4249)
Luminance0.4173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EF7 #DAF79E
analogous
#9EAEF7 #BB9EF7 #E89EF7
triadic
#BB9EF7 #F7BB9E #9EF7BB
tetradic
#BB9EF7 #F79EAE #DAF79E #9EF7E8
square
#BB9EF7 #F79EAE #DAF79E #9EF7E8
split-complementary
#BB9EF7 #F7E89E #AEF79E
monochromatic
#6C2DEE #9365F2 #BB9EF7 #E3D7FC #EBE3FD

Accessibility & contrast

On white

2.25
#BB9EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#BB9EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EF7
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EF7#FFFFFF#000000##000000
##BB9EF71.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ADFA
Deuteranopia (green-blind)
#8DACF5
Tritanopia (blue-blind)
#AFADBF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9ef7;
/* rgb */ color: rgb(187, 158, 247);
/* oklch */ color: oklch(75.9% 0.128 298.3);
Tailwind
colors: {
  custom: {
    50: '#d1bbfa',
    500: '#bb9ef7',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ef7;
$custom-light: #d1bbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ef7",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 247
  },
  "hsl": {
    "h": 259.551,
    "s": 84.762,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7586,
    "c": 0.12808,
    "h": 298.3
  },
  "luminance": 0.41734
}

Semantic roles & 50–950 ramp

primary
#BB9EF7
secondary
#EBF5D6
accent
#E10499
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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