#BB9FDB#BB9FDB

#BB9FDB is a light, moderate violet. Relative luminance 0.405; OKLCH L 74.8% C 0.090 H 305.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#BB9FDB
RGBrgb(187, 159, 219)
HSLhsl(268, 45%, 74%)
HSVhsv(268, 27%, 86%)
CMYKcmyk(14.6%, 27.4%, 0%, 14.1%)
CIE-LABlab(69.81, 21.78, -26.63)
CIE-LCHlch(69.81, 34.40, 309.28°)
OKLaboklab(74.82% 0.0523 -0.0729)
OKLCHoklch(74.82% 0.09 305.6)
XYZxyz(45.6754, 40.4757, 72.4104)
Luminance0.4048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FDB #BFDB9F
analogous
#9FA1DB #BB9FDB #D99FDB
triadic
#BB9FDB #DBBB9F #9FDBBB
tetradic
#BB9FDB #DB9FA1 #BFDB9F #9FDBD9
square
#BB9FDB #DB9FA1 #BFDB9F #9FDBD9
split-complementary
#BB9FDB #DBD99F #A1DB9F
monochromatic
#7C46BA #9B72CA #BB9FDB #DBCCEC #EFE9F7

Accessibility & contrast

On white

2.31
#BB9FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#BB9FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FDB
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FDB#FFFFFF#000000##000000
##BB9FDB1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADD
Deuteranopia (green-blind)
#99ABD9
Tritanopia (blue-blind)
#B7A7B4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9fdb;
/* rgb */ color: rgb(187, 159, 219);
/* oklch */ color: oklch(74.8% 0.090 305.6);
Tailwind
colors: {
  custom: {
    50: '#d0bbe6',
    500: '#bb9fdb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fdb;
$custom-light: #d0bbe6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fdb",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 219
  },
  "hsl": {
    "h": 268,
    "s": 45.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74819,
    "c": 0.08971,
    "h": 305.6
  },
  "luminance": 0.40476
}

Semantic roles & 50–950 ramp

primary
#BB9FDB
secondary
#E6EEDD
accent
#B92D77
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BB9FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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