#BB9CFA#BB9CFA

#BB9CFA is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.6% C 0.135 H 298.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#BB9CFA
RGBrgb(187, 156, 250)
HSLhsl(260, 90%, 80%)
HSVhsv(260, 38%, 98%)
CMYKcmyk(25.2%, 37.6%, 0%, 2%)
CIE-LABlab(70.35, 30.46, -42.75)
CIE-LCHlch(70.35, 52.49, 305.47°)
OKLaboklab(75.64% 0.0641 -0.119)
OKLCHoklch(75.64% 0.135 298.3)
XYZxyz(49.6333, 41.2435, 95.7699)
Luminance0.4124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9CFA #DBFA9C
analogous
#9CACFA #BB9CFA #EA9CFA
triadic
#BB9CFA #FABB9C #9CFABB
tetradic
#BB9CFA #FA9CAC #DBFA9C #9CFAEA
square
#BB9CFA #FA9CAC #DBFA9C #9CFAEA
split-complementary
#BB9CFA #FAEA9C #ACFA9C
monochromatic
#6B27F4 #9362F7 #BB9CFA #E3D6FD #EBE2FE

Accessibility & contrast

On white

2.27
#BB9CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#BB9CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9CFA
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9CFA#FFFFFF#000000##000000
##BB9CFA1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#AFACBF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9cfa;
/* rgb */ color: rgb(187, 156, 250);
/* oklch */ color: oklch(75.6% 0.135 298.3);
Tailwind
colors: {
  custom: {
    50: '#d1b9fc',
    500: '#bb9cfa',
    950: '#000000',
  },
}
SCSS
$custom: #bb9cfa;
$custom-light: #d1b9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9cfa",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 259.787,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75644,
    "c": 0.13517,
    "h": 298.3
  },
  "luminance": 0.41244
}

Semantic roles & 50–950 ramp

primary
#BB9CFA
secondary
#EBF6D5
accent
#E6009A
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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