#BB9EDB#BB9EDB

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

Color values

HEX#BB9EDB
RGBrgb(187, 158, 219)
HSLhsl(269, 46%, 74%)
HSVhsv(269, 28%, 86%)
CMYKcmyk(14.6%, 27.9%, 0%, 14.1%)
CIE-LABlab(69.56, 22.34, -27.00)
CIE-LCHlch(69.56, 35.04, 309.60°)
OKLaboklab(74.63% 0.0537 -0.074)
OKLCHoklch(74.63% 0.091 306)
XYZxyz(45.5041, 40.1332, 72.3534)
Luminance0.4013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EDB #BEDB9E
analogous
#9EA0DB #BB9EDB #DA9EDB
triadic
#BB9EDB #DBBB9E #9EDBBB
tetradic
#BB9EDB #DB9EA0 #BEDB9E #9EDBDA
square
#BB9EDB #DB9EA0 #BEDB9E #9EDBDA
split-complementary
#BB9EDB #DBDA9E #A0DB9E
monochromatic
#7C45BA #9C71CA #BB9EDB #DACBEC #EFE9F7

Accessibility & contrast

On white

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

On black

9.03
#BB9EDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EDB
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EDB#FFFFFF#000000##000000
##BB9EDB1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A9DE
Deuteranopia (green-blind)
#98AAD9
Tritanopia (blue-blind)
#B7A6B4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9edb;
/* rgb */ color: rgb(187, 158, 219);
/* oklch */ color: oklch(74.6% 0.091 306.0);
Tailwind
colors: {
  custom: {
    50: '#d0bae6',
    500: '#bb9edb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9edb;
$custom-light: #d0bae6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9edb",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 219
  },
  "hsl": {
    "h": 268.525,
    "s": 45.865,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74632,
    "c": 0.09142,
    "h": 306
  },
  "luminance": 0.40133
}

Semantic roles & 50–950 ramp

primary
#BB9EDB
secondary
#E6EEDD
accent
#B92C76
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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