#BB9CEF#BB9CEF

#BB9CEF is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.1% C 0.121 H 300.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#BB9CEF
RGBrgb(187, 156, 239)
HSLhsl(262, 72%, 77%)
HSVhsv(262, 35%, 94%)
CMYKcmyk(21.8%, 34.7%, 0%, 6.3%)
CIE-LABlab(69.88, 27.90, -37.49)
CIE-LCHlch(69.88, 46.73, 306.66°)
OKLaboklab(75.13% 0.0617 -0.1039)
OKLCHoklch(75.13% 0.121 300.7)
XYZxyz(47.9586, 40.5736, 86.9495)
Luminance0.4057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9CEF #D0EF9C
analogous
#9CA6EF #BB9CEF #E59CEF
triadic
#BB9CEF #EFBB9C #9CEFBB
tetradic
#BB9CEF #EF9CA6 #D0EF9C #9CEFE5
square
#BB9CEF #EF9CA6 #D0EF9C #9CEFE5
split-complementary
#BB9CEF #EFE59C #A6EF9C
monochromatic
#7333DE #9767E6 #BB9CEF #DFD1F8 #EDE5FB

Accessibility & contrast

On white

2.30
#BB9CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#BB9CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9CEF
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9CEF#FFFFFF#000000##000000
##BB9CEF1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF2
Deuteranopia (green-blind)
#8EAAED
Tritanopia (blue-blind)
#B2A9BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9cef;
/* rgb */ color: rgb(187, 156, 239);
/* oklch */ color: oklch(75.1% 0.121 300.7);
Tailwind
colors: {
  custom: {
    50: '#d0b9f4',
    500: '#bb9cef',
    950: '#000000',
  },
}
SCSS
$custom: #bb9cef;
$custom-light: #d0b9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9cef",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 239
  },
  "hsl": {
    "h": 262.41,
    "s": 72.174,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75132,
    "c": 0.1208,
    "h": 300.7
  },
  "luminance": 0.40574
}

Semantic roles & 50–950 ramp

primary
#BB9CEF
secondary
#E9F2D9
accent
#D4118B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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