#BB9EFA#BB9EFA

#BB9EFA is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.0% C 0.132 H 297.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#BB9EFA
RGBrgb(187, 158, 250)
HSLhsl(259, 90%, 80%)
HSVhsv(259, 37%, 98%)
CMYKcmyk(25.2%, 36.8%, 0%, 2%)
CIE-LABlab(70.82, 29.34, -42.02)
CIE-LCHlch(70.82, 51.25, 304.93°)
OKLaboklab(76% 0.0613 -0.1169)
OKLCHoklch(76% 0.132 297.7)
XYZxyz(49.9717, 41.9202, 95.8827)
Luminance0.4192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EFA #DDFA9E
analogous
#9EAFFA #BB9EFA #E99EFA
triadic
#BB9EFA #FABB9E #9EFABB
tetradic
#BB9EFA #FA9EAF #DDFA9E #9EFAE9
square
#BB9EFA #FA9EAF #DDFA9E #9EFAE9
split-complementary
#BB9EFA #FAE99E #AFFA9E
monochromatic
#692AF4 #9264F7 #BB9EFA #E4D8FD #EBE2FD

Accessibility & contrast

On white

2.24
#BB9EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#BB9EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EFA
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EFA#FFFFFF#000000##000000
##BB9EFA1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFE
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#AFADC0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9efa;
/* rgb */ color: rgb(187, 158, 250);
/* oklch */ color: oklch(76.0% 0.132 297.7);
Tailwind
colors: {
  custom: {
    50: '#d1bbfc',
    500: '#bb9efa',
    950: '#000000',
  },
}
SCSS
$custom: #bb9efa;
$custom-light: #d1bbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9efa",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 258.913,
    "s": 90.196,
    "l": 80
  },
  "oklch": {
    "l": 0.76001,
    "c": 0.13202,
    "h": 297.7
  },
  "luminance": 0.41921
}

Semantic roles & 50–950 ramp

primary
#BB9EFA
secondary
#EBF6D5
accent
#E6009D
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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