#BB9EDC#BB9EDC

#BB9EDC is a light, moderate violet. Relative luminance 0.402; OKLCH L 74.7% C 0.093 H 305.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#BB9EDC
RGBrgb(187, 158, 220)
HSLhsl(268, 47%, 74%)
HSVhsv(268, 28%, 86%)
CMYKcmyk(15%, 28.2%, 0%, 13.7%)
CIE-LABlab(69.60, 22.55, -27.50)
CIE-LCHlch(69.60, 35.56, 309.36°)
OKLaboklab(74.67% 0.054 -0.0754)
OKLCHoklch(74.67% 0.093 305.6)
XYZxyz(45.6362, 40.1860, 73.0488)
Luminance0.4019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EDC #BFDC9E
analogous
#9EA0DC #BB9EDC #DA9EDC
triadic
#BB9EDC #DCBB9E #9EDCBB
tetradic
#BB9EDC #DC9EA0 #BFDC9E #9EDCDA
square
#BB9EDC #DC9EA0 #BFDC9E #9EDCDA
split-complementary
#BB9EDC #DCDA9E #A0DC9E
monochromatic
#7C44BC #9B71CC #BB9EDC #DBCBEC #EFE9F7

Accessibility & contrast

On white

2.32
#BB9EDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#BB9EDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EDC
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EDC#FFFFFF#000000##000000
##BB9EDC1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A9DF
Deuteranopia (green-blind)
#98AADA
Tritanopia (blue-blind)
#B6A7B4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9edc;
/* rgb */ color: rgb(187, 158, 220);
/* oklch */ color: oklch(74.7% 0.093 305.6);
Tailwind
colors: {
  custom: {
    50: '#d0bae7',
    500: '#bb9edc',
    950: '#000000',
  },
}
SCSS
$custom: #bb9edc;
$custom-light: #d0bae7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9edc",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 220
  },
  "hsl": {
    "h": 268.065,
    "s": 46.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74674,
    "c": 0.09271,
    "h": 305.6
  },
  "luminance": 0.40186
}

Semantic roles & 50–950 ramp

primary
#BB9EDC
secondary
#E6EEDD
accent
#BA2B77
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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