#BB9EDA#BB9EDA

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

Color values

HEX#BB9EDA
RGBrgb(187, 158, 218)
HSLhsl(269, 45%, 74%)
HSVhsv(269, 28%, 85%)
CMYKcmyk(14.2%, 27.5%, 0%, 14.5%)
CIE-LABlab(69.53, 22.12, -26.51)
CIE-LCHlch(69.53, 34.53, 309.84°)
OKLaboklab(74.59% 0.0534 -0.0726)
OKLCHoklch(74.59% 0.09 306.4)
XYZxyz(45.3729, 40.0807, 71.6621)
Luminance0.4008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EDA #BDDA9E
analogous
#9E9FDA #BB9EDA #D99EDA
triadic
#BB9EDA #DABB9E #9EDABB
tetradic
#BB9EDA #DA9E9F #BDDA9E #9EDAD9
square
#BB9EDA #DA9E9F #BDDA9E #9EDAD9
split-complementary
#BB9EDA #DAD99E #9FDA9E
monochromatic
#7D46B8 #9C72C9 #BB9EDA #DACAEB #EFE9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9EDA#FFFFFF#000000##000000
##BB9EDA1.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)
#93A9DC
Deuteranopia (green-blind)
#99AAD8
Tritanopia (blue-blind)
#B7A6B3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9eda;
/* rgb */ color: rgb(187, 158, 218);
/* oklch */ color: oklch(74.6% 0.090 306.4);
Tailwind
colors: {
  custom: {
    50: '#d0bae5',
    500: '#bb9eda',
    950: '#000000',
  },
}
SCSS
$custom: #bb9eda;
$custom-light: #d0bae5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9eda",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 218
  },
  "hsl": {
    "h": 269,
    "s": 44.776,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74591,
    "c": 0.09012,
    "h": 306.4
  },
  "luminance": 0.4008
}

Semantic roles & 50–950 ramp

primary
#BB9EDA
secondary
#E6EDDE
accent
#B82E75
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141115
muted
#828084

Preview Lab

Preview with #BB9EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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