#BB9CE7#BB9CE7

#BB9CE7 is a light, moderate violet. Relative luminance 0.401; OKLCH L 74.8% C 0.110 H 302.8°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#BB9CE7
RGBrgb(187, 156, 231)
HSLhsl(265, 61%, 76%)
HSVhsv(265, 32%, 91%)
CMYKcmyk(19%, 32.5%, 0%, 9.4%)
CIE-LABlab(69.55, 26.09, -33.62)
CIE-LCHlch(69.55, 42.55, 307.81°)
OKLaboklab(74.77% 0.0598 -0.0928)
OKLCHoklch(74.77% 0.11 302.8)
XYZxyz(46.8028, 40.1113, 80.8624)
Luminance0.4011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9CE7 #C8E79C
analogous
#9CA2E7 #BB9CE7 #E09CE7
triadic
#BB9CE7 #E7BB9C #9CE7BB
tetradic
#BB9CE7 #E79CA2 #C8E79C #9CE7E0
square
#BB9CE7 #E79CA2 #C8E79C #9CE7E0
split-complementary
#BB9CE7 #E7E09C #A2E79C
monochromatic
#7739CF #996BDB #BB9CE7 #DDCDF3 #EEE6F9

Accessibility & contrast

On white

2.33
#BB9CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#BB9CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9CE7
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9CE7#FFFFFF#000000##000000
##BB9CE71.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA9EA
Deuteranopia (green-blind)
#92AAE5
Tritanopia (blue-blind)
#B4A7B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9ce7;
/* rgb */ color: rgb(187, 156, 231);
/* oklch */ color: oklch(74.8% 0.110 302.8);
Tailwind
colors: {
  custom: {
    50: '#d0b9ef',
    500: '#bb9ce7',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ce7;
$custom-light: #d0b9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ce7",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 231
  },
  "hsl": {
    "h": 264.8,
    "s": 60.976,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74774,
    "c": 0.11036,
    "h": 302.8
  },
  "luminance": 0.40111
}

Semantic roles & 50–950 ramp

primary
#BB9CE7
secondary
#E7F0DB
accent
#C91D82
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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