#BB9EDD#BB9EDD

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

Color values

HEX#BB9EDD
RGBrgb(187, 158, 221)
HSLhsl(268, 48%, 74%)
HSVhsv(268, 29%, 87%)
CMYKcmyk(15.4%, 28.5%, 0%, 13.3%)
CIE-LABlab(69.64, 22.77, -27.99)
CIE-LCHlch(69.64, 36.08, 309.13°)
OKLaboklab(74.72% 0.0543 -0.0767)
OKLCHoklch(74.72% 0.094 305.3)
XYZxyz(45.7690, 40.2392, 73.7483)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EDD #C0DD9E
analogous
#9EA1DD #BB9EDD #DB9EDD
triadic
#BB9EDD #DDBB9E #9EDDBB
tetradic
#BB9EDD #DD9EA1 #C0DD9E #9EDDDB
square
#BB9EDD #DD9EA1 #C0DD9E #9EDDDB
split-complementary
#BB9EDD #DDDB9E #A1DD9E
monochromatic
#7B43BD #9B71CD #BB9EDD #DBCBED #EFE8F7

Accessibility & contrast

On white

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

On black

9.05
#BB9EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EDD
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EDD#FFFFFF#000000##000000
##BB9EDD1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb9edd;
/* rgb */ color: rgb(187, 158, 221);
/* oklch */ color: oklch(74.7% 0.094 305.3);
Tailwind
colors: {
  custom: {
    50: '#d0bae7',
    500: '#bb9edd',
    950: '#000000',
  },
}
SCSS
$custom: #bb9edd;
$custom-light: #d0bae7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9edd",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 221
  },
  "hsl": {
    "h": 267.619,
    "s": 48.092,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74715,
    "c": 0.094,
    "h": 305.3
  },
  "luminance": 0.40239
}

Semantic roles & 50–950 ramp

primary
#BB9EDD
secondary
#E6EEDD
accent
#BB2A79
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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