#BB9DFA#BB9DFA

#BB9DFA is a light, vivid violet. Relative luminance 0.416; OKLCH L 75.8% C 0.134 H 298.0°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#BB9DFA
RGBrgb(187, 157, 250)
HSLhsl(259, 90%, 80%)
HSVhsv(259, 37%, 98%)
CMYKcmyk(25.2%, 37.2%, 0%, 2%)
CIE-LABlab(70.58, 29.90, -42.39)
CIE-LCHlch(70.58, 51.87, 305.20°)
OKLaboklab(75.82% 0.0627 -0.118)
OKLCHoklch(75.82% 0.134 298)
XYZxyz(49.8018, 41.5805, 95.8260)
Luminance0.4158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DFA #DCFA9D
analogous
#9DAEFA #BB9DFA #EA9DFA
triadic
#BB9DFA #FABB9D #9DFABB
tetradic
#BB9DFA #FA9DAE #DCFA9D #9DFAEA
square
#BB9DFA #FA9DAE #DCFA9D #9DFAEA
split-complementary
#BB9DFA #FAEA9D #AEFA9D
monochromatic
#6A29F4 #9363F7 #BB9DFA #E3D7FD #EBE2FE

Accessibility & contrast

On white

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

On black

9.32
#BB9DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DFA
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DFA#FFFFFF#000000##000000
##BB9DFA1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFE
Deuteranopia (green-blind)
#8AACF8
Tritanopia (blue-blind)
#AFADC0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9dfa;
/* rgb */ color: rgb(187, 157, 250);
/* oklch */ color: oklch(75.8% 0.134 298.0);
Tailwind
colors: {
  custom: {
    50: '#d1bafc',
    500: '#bb9dfa',
    950: '#000000',
  },
}
SCSS
$custom: #bb9dfa;
$custom-light: #d1bafc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9dfa",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 250
  },
  "hsl": {
    "h": 259.355,
    "s": 90.291,
    "l": 79.804
  },
  "oklch": {
    "l": 0.75822,
    "c": 0.13359,
    "h": 298
  },
  "luminance": 0.41581
}

Semantic roles & 50–950 ramp

primary
#BB9DFA
secondary
#EBF6D5
accent
#E6009B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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