#BB9ECD#BB9ECD

#BB9ECD is a light, moderate violet. Relative luminance 0.394; OKLCH L 74.1% C 0.074 H 312.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#BB9ECD
RGBrgb(187, 158, 205)
HSLhsl(277, 32%, 71%)
HSVhsv(277, 23%, 80%)
CMYKcmyk(8.8%, 22.9%, 0%, 19.6%)
CIE-LABlab(69.06, 19.39, -20.05)
CIE-LCHlch(69.06, 27.89, 314.04°)
OKLaboklab(74.08% 0.0496 -0.0544)
OKLCHoklch(74.08% 0.074 312.3)
XYZxyz(43.7380, 39.4268, 63.0518)
Luminance0.3943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9ECD #B0CD9E
analogous
#A39ECD #BB9ECD #CD9EC7
triadic
#BB9ECD #CDBB9E #9ECDBB
tetradic
#BB9ECD #CDA39E #B0CD9E #9EC7CD
square
#BB9ECD #CDA39E #B0CD9E #9EC7CD
split-complementary
#BB9ECD #C7CD9E #9ECDA3
monochromatic
#81529F #9F76B8 #BB9ECD #D7C6E2 #F1EBF5

Accessibility & contrast

On white

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

On black

8.89
#BB9ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9ECD
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9ECD#FFFFFF#000000##000000
##BB9ECD1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7CF
Deuteranopia (green-blind)
#9DA9CB
Tritanopia (blue-blind)
#BAA4AE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb9ecd;
/* rgb */ color: rgb(187, 158, 205);
/* oklch */ color: oklch(74.1% 0.074 312.3);
Tailwind
colors: {
  custom: {
    50: '#cfbadc',
    500: '#bb9ecd',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ecd;
$custom-light: #cfbadc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ecd",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 205
  },
  "hsl": {
    "h": 277.021,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74077,
    "c": 0.07361,
    "h": 312.3
  },
  "luminance": 0.39426
}

Semantic roles & 50–950 ramp

primary
#BB9ECD
secondary
#E2EADD
accent
#AB3B66
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB9ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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