#BB9EF6#BB9EF6

#BB9EF6 is a light, vivid violet. Relative luminance 0.417; OKLCH L 75.8% C 0.127 H 298.5°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#BB9EF6
RGBrgb(187, 158, 246)
HSLhsl(260, 83%, 79%)
HSVhsv(260, 36%, 96%)
CMYKcmyk(24%, 35.8%, 0%, 3.5%)
CIE-LABlab(70.64, 28.41, -40.11)
CIE-LCHlch(70.64, 49.15, 305.31°)
OKLaboklab(75.81% 0.0605 -0.1114)
OKLCHoklch(75.81% 0.127 298.5)
XYZxyz(49.3512, 41.6720, 92.6144)
Luminance0.4167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EF6 #D9F69E
analogous
#9EADF6 #BB9EF6 #E79EF6
triadic
#BB9EF6 #F6BB9E #9EF6BB
tetradic
#BB9EF6 #F69EAD #D9F69E #9EF6E7
square
#BB9EF6 #F69EAD #D9F69E #9EF6E7
split-complementary
#BB9EF6 #F6E79E #ADF69E
monochromatic
#6C2EEC #9466F1 #BB9EF6 #E2D6FB #EBE3FC

Accessibility & contrast

On white

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

On black

9.33
#BB9EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EF6
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EF6#FFFFFF#000000##000000
##BB9EF61.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ADF9
Deuteranopia (green-blind)
#8DACF4
Tritanopia (blue-blind)
#B0ADBF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9ef6;
/* rgb */ color: rgb(187, 158, 246);
/* oklch */ color: oklch(75.8% 0.127 298.5);
Tailwind
colors: {
  custom: {
    50: '#d1bbf9',
    500: '#bb9ef6',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ef6;
$custom-light: #d1bbf9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ef6",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 246
  },
  "hsl": {
    "h": 259.773,
    "s": 83.019,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75814,
    "c": 0.12676,
    "h": 298.5
  },
  "luminance": 0.41672
}

Semantic roles & 50–950 ramp

primary
#BB9EF6
secondary
#EBF4D7
accent
#DF0698
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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