#BB9ED2#BB9ED2

#BB9ED2 is a light, moderate violet. Relative luminance 0.397; OKLCH L 74.3% C 0.080 H 309.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#BB9ED2
RGBrgb(187, 158, 210)
HSLhsl(273, 37%, 72%)
HSVhsv(273, 25%, 82%)
CMYKcmyk(11%, 24.8%, 0%, 17.6%)
CIE-LABlab(69.24, 20.42, -22.54)
CIE-LCHlch(69.24, 30.42, 312.17°)
OKLaboklab(74.27% 0.0511 -0.0614)
OKLCHoklch(74.27% 0.08 309.8)
XYZxyz(44.3512, 39.6720, 66.2813)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9ED2 #B5D29E
analogous
#A19ED2 #BB9ED2 #D29ECF
triadic
#BB9ED2 #D2BB9E #9ED2BB
tetradic
#BB9ED2 #D2A19E #B5D29E #9ECFD2
square
#BB9ED2 #D2A19E #B5D29E #9ECFD2
split-complementary
#BB9ED2 #CFD29E #9ED2A1
monochromatic
#804EA8 #9E74BF #BB9ED2 #D8C8E5 #F0EAF5

Accessibility & contrast

On white

2.35
#BB9ED2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#BB9ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9ED2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9ED2#FFFFFF#000000##000000
##BB9ED21.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A8D4
Deuteranopia (green-blind)
#9BAAD0
Tritanopia (blue-blind)
#B9A5B0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb9ed2;
/* rgb */ color: rgb(187, 158, 210);
/* oklch */ color: oklch(74.3% 0.080 309.8);
Tailwind
colors: {
  custom: {
    50: '#d0bae0',
    500: '#bb9ed2',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ed2;
$custom-light: #d0bae0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ed2",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 210
  },
  "hsl": {
    "h": 273.462,
    "s": 36.62,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74271,
    "c": 0.07988,
    "h": 309.8
  },
  "luminance": 0.39672
}

Semantic roles & 50–950 ramp

primary
#BB9ED2
secondary
#E5ECDF
accent
#B0366C
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB9ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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