#BB9ECF#BB9ECF

#BB9ECF is a light, moderate violet. Relative luminance 0.395; OKLCH L 74.2% C 0.076 H 311.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#BB9ECF
RGBrgb(187, 158, 207)
HSLhsl(276, 34%, 72%)
HSVhsv(276, 24%, 81%)
CMYKcmyk(9.7%, 23.7%, 0%, 18.8%)
CIE-LABlab(69.13, 19.80, -21.05)
CIE-LCHlch(69.13, 28.90, 313.25°)
OKLaboklab(74.15% 0.0502 -0.0572)
OKLCHoklch(74.15% 0.076 311.3)
XYZxyz(43.9809, 39.5239, 64.3313)
Luminance0.3952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9ECF #B2CF9E
analogous
#A39ECF #BB9ECF #CF9ECB
triadic
#BB9ECF #CFBB9E #9ECFBB
tetradic
#BB9ECF #CFA39E #B2CF9E #9ECBCF
square
#BB9ECF #CFA39E #B2CF9E #9ECBCF
split-complementary
#BB9ECF #CBCF9E #9ECFA3
monochromatic
#8150A2 #9E75BB #BB9ECF #D8C7E3 #F1EBF5

Accessibility & contrast

On white

2.36
#BB9ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#BB9ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9ECF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9ECF#FFFFFF#000000##000000
##BB9ECF1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7D1
Deuteranopia (green-blind)
#9CA9CD
Tritanopia (blue-blind)
#B9A4AF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb9ecf;
/* rgb */ color: rgb(187, 158, 207);
/* oklch */ color: oklch(74.2% 0.076 311.3);
Tailwind
colors: {
  custom: {
    50: '#cfbadd',
    500: '#bb9ecf',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ecf;
$custom-light: #cfbadd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ecf",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 207
  },
  "hsl": {
    "h": 275.51,
    "s": 33.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74154,
    "c": 0.0761,
    "h": 311.3
  },
  "luminance": 0.39524
}

Semantic roles & 50–950 ramp

primary
#BB9ECF
secondary
#E3EBDE
accent
#AD3968
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB9ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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