#BB9CE2#BB9CE2

#BB9CE2 is a light, moderate violet. Relative luminance 0.398; OKLCH L 74.6% C 0.104 H 304.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#BB9CE2
RGBrgb(187, 156, 226)
HSLhsl(267, 55%, 75%)
HSVhsv(267, 31%, 89%)
CMYKcmyk(17.3%, 31%, 0%, 11.4%)
CIE-LABlab(69.35, 24.98, -31.18)
CIE-LCHlch(69.35, 39.95, 308.70°)
OKLaboklab(74.56% 0.0585 -0.0858)
OKLCHoklch(74.56% 0.104 304.3)
XYZxyz(46.1067, 39.8328, 77.1963)
Luminance0.3983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9CE2 #C3E29C
analogous
#9CA0E2 #BB9CE2 #DE9CE2
triadic
#BB9CE2 #E2BB9C #9CE2BB
tetradic
#BB9CE2 #E29CA0 #C3E29C #9CE2DE
square
#BB9CE2 #E29CA0 #C3E29C #9CE2DE
split-complementary
#BB9CE2 #E2DE9C #A0E29C
monochromatic
#7A3DC6 #9A6DD4 #BB9CE2 #DCCBF0 #EFE7F8

Accessibility & contrast

On white

2.34
#BB9CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#BB9CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9CE2
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9CE2#FFFFFF#000000##000000
##BB9CE21.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA8E5
Deuteranopia (green-blind)
#94A9E0
Tritanopia (blue-blind)
#B5A6B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb9ce2;
/* rgb */ color: rgb(187, 156, 226);
/* oklch */ color: oklch(74.6% 0.104 304.3);
Tailwind
colors: {
  custom: {
    50: '#d0b9eb',
    500: '#bb9ce2',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ce2;
$custom-light: #d0b9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ce2",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 226
  },
  "hsl": {
    "h": 266.571,
    "s": 54.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74557,
    "c": 0.10387,
    "h": 304.3
  },
  "luminance": 0.39833
}

Semantic roles & 50–950 ramp

primary
#BB9CE2
secondary
#E7EFDC
accent
#C2237C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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