#BB9EF1#BB9EF1

#BB9EF1 is a light, vivid violet. Relative luminance 0.414; OKLCH L 75.6% C 0.120 H 299.6°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#BB9EF1
RGBrgb(187, 158, 241)
HSLhsl(261, 75%, 78%)
HSVhsv(261, 34%, 95%)
CMYKcmyk(22.4%, 34.4%, 0%, 5.5%)
CIE-LABlab(70.43, 27.25, -37.71)
CIE-LCHlch(70.43, 46.53, 305.85°)
OKLaboklab(75.58% 0.0594 -0.1045)
OKLCHoklch(75.58% 0.12 299.6)
XYZxyz(48.5940, 41.3692, 88.6270)
Luminance0.4137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EF1 #D4F19E
analogous
#9EAAF1 #BB9EF1 #E49EF1
triadic
#BB9EF1 #F1BB9E #9EF1BB
tetradic
#BB9EF1 #F19EAA #D4F19E #9EF1E4
square
#BB9EF1 #F19EAA #D4F19E #9EF1E4
split-complementary
#BB9EF1 #F1E49E #AAF19E
monochromatic
#7033E2 #9669E9 #BB9EF1 #E0D3F9 #ECE4FB

Accessibility & contrast

On white

2.26
#BB9EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#BB9EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EF1
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EF1#FFFFFF#000000##000000
##BB9EF11.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF4
Deuteranopia (green-blind)
#8FACEF
Tritanopia (blue-blind)
#B1ABBD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9ef1;
/* rgb */ color: rgb(187, 158, 241);
/* oklch */ color: oklch(75.6% 0.120 299.6);
Tailwind
colors: {
  custom: {
    50: '#d0bbf6',
    500: '#bb9ef1',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ef1;
$custom-light: #d0bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ef1",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 241
  },
  "hsl": {
    "h": 260.964,
    "s": 74.775,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75584,
    "c": 0.12019,
    "h": 299.6
  },
  "luminance": 0.41369
}

Semantic roles & 50–950 ramp

primary
#BB9EF1
secondary
#EAF3D8
accent
#D70F91
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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