#BB9DE2#BB9DE2

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

Color values

HEX#BB9DE2
RGBrgb(187, 157, 226)
HSLhsl(266, 54%, 75%)
HSVhsv(266, 31%, 89%)
CMYKcmyk(17.3%, 30.5%, 0%, 11.4%)
CIE-LABlab(69.59, 24.42, -30.81)
CIE-LCHlch(69.59, 39.32, 308.40°)
OKLaboklab(74.74% 0.0571 -0.0848)
OKLCHoklch(74.74% 0.102 303.9)
XYZxyz(46.2752, 40.1698, 77.2524)
Luminance0.4017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DE2 #C4E29D
analogous
#9DA1E2 #BB9DE2 #DE9DE2
triadic
#BB9DE2 #E2BB9D #9DE2BB
tetradic
#BB9DE2 #E29DA1 #C4E29D #9DE2DE
square
#BB9DE2 #E29DA1 #C4E29D #9DE2DE
split-complementary
#BB9DE2 #E2DE9D #A1E29D
monochromatic
#793FC6 #9A6ED4 #BB9DE2 #DCCCF0 #EFE7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9DE2#FFFFFF#000000##000000
##BB9DE21.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA9E5
Deuteranopia (green-blind)
#95AAE0
Tritanopia (blue-blind)
#B5A7B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9de2;
/* rgb */ color: rgb(187, 157, 226);
/* oklch */ color: oklch(74.7% 0.102 303.9);
Tailwind
colors: {
  custom: {
    50: '#d0baeb',
    500: '#bb9de2',
    950: '#000000',
  },
}
SCSS
$custom: #bb9de2;
$custom-light: #d0baeb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9de2",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 226
  },
  "hsl": {
    "h": 266.087,
    "s": 54.331,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74741,
    "c": 0.10219,
    "h": 303.9
  },
  "luminance": 0.4017
}

Semantic roles & 50–950 ramp

primary
#BB9DE2
secondary
#E7EFDC
accent
#C2247D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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