#BB9CF2#BB9CF2

#BB9CF2 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.3% C 0.125 H 300.0°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#BB9CF2
RGBrgb(187, 156, 242)
HSLhsl(262, 77%, 78%)
HSVhsv(262, 36%, 95%)
CMYKcmyk(22.7%, 35.5%, 0%, 5.1%)
CIE-LABlab(70.00, 28.59, -38.93)
CIE-LCHlch(70.00, 48.30, 306.29°)
OKLaboklab(75.27% 0.0624 -0.108)
OKLCHoklch(75.27% 0.125 300)
XYZxyz(48.4055, 40.7523, 89.3030)
Luminance0.4075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9CF2 #D3F29C
analogous
#9CA8F2 #BB9CF2 #E69CF2
triadic
#BB9CF2 #F2BB9C #9CF2BB
tetradic
#BB9CF2 #F29CA8 #D3F29C #9CF2E6
square
#BB9CF2 #F29CA8 #D3F29C #9CF2E6
split-complementary
#BB9CF2 #F2E69C #A8F29C
monochromatic
#7130E4 #9666EB #BB9CF2 #E0D2F9 #ECE4FB

Accessibility & contrast

On white

2.29
#BB9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#BB9CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9CF2
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9CF2#FFFFFF#000000##000000
##BB9CF21.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ABF5
Deuteranopia (green-blind)
#8DABF0
Tritanopia (blue-blind)
#B1AABC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9cf2;
/* rgb */ color: rgb(187, 156, 242);
/* oklch */ color: oklch(75.3% 0.125 300.0);
Tailwind
colors: {
  custom: {
    50: '#d1b9f6',
    500: '#bb9cf2',
    950: '#000000',
  },
}
SCSS
$custom: #bb9cf2;
$custom-light: #d1b9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9cf2",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 261.628,
    "s": 76.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75269,
    "c": 0.12472,
    "h": 300
  },
  "luminance": 0.40753
}

Semantic roles & 50–950 ramp

primary
#BB9CF2
secondary
#E9F3D8
accent
#D90C8F
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #BB9CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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