#BB9DEF#BB9DEF

#BB9DEF is a light, moderate violet. Relative luminance 0.409; OKLCH L 75.3% C 0.119 H 300.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#BB9DEF
RGBrgb(187, 157, 239)
HSLhsl(262, 72%, 78%)
HSVhsv(262, 34%, 94%)
CMYKcmyk(21.8%, 34.3%, 0%, 6.3%)
CIE-LABlab(70.11, 27.35, -37.12)
CIE-LCHlch(70.11, 46.11, 306.38°)
OKLaboklab(75.31% 0.0603 -0.1028)
OKLCHoklch(75.31% 0.119 300.4)
XYZxyz(48.1271, 40.9106, 87.0057)
Luminance0.4091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DEF #D1EF9D
analogous
#9DA8EF #BB9DEF #E49DEF
triadic
#BB9DEF #EFBB9D #9DEFBB
tetradic
#BB9DEF #EF9DA8 #D1EF9D #9DEFE4
square
#BB9DEF #EF9DA8 #D1EF9D #9DEFE4
split-complementary
#BB9DEF #EFE49D #A8EF9D
monochromatic
#7234DE #9668E6 #BB9DEF #E0D2F8 #EDE5FB

Accessibility & contrast

On white

2.29
#BB9DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#BB9DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DEF
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DEF#FFFFFF#000000##000000
##BB9DEF1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF2
Deuteranopia (green-blind)
#8FABED
Tritanopia (blue-blind)
#B2AABB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9def;
/* rgb */ color: rgb(187, 157, 239);
/* oklch */ color: oklch(75.3% 0.119 300.4);
Tailwind
colors: {
  custom: {
    50: '#d0baf4',
    500: '#bb9def',
    950: '#000000',
  },
}
SCSS
$custom: #bb9def;
$custom-light: #d0baf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9def",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 239
  },
  "hsl": {
    "h": 261.951,
    "s": 71.93,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75312,
    "c": 0.11918,
    "h": 300.4
  },
  "luminance": 0.40911
}

Semantic roles & 50–950 ramp

primary
#BB9DEF
secondary
#E9F2D9
accent
#D4128D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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