#BB8CD4#BB8CD4

#BB8CD4 is a light, moderate violet. Relative luminance 0.341; OKLCH L 71.1% C 0.114 H 313.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#BB8CD4
RGBrgb(187, 140, 212)
HSLhsl(279, 46%, 69%)
HSVhsv(279, 34%, 83%)
CMYKcmyk(11.8%, 34%, 0%, 16.9%)
CIE-LABlab(65.02, 30.86, -30.12)
CIE-LCHlch(65.02, 43.12, 315.69°)
OKLaboklab(71.07% 0.0783 -0.0827)
OKLCHoklch(71.07% 0.114 313.4)
XYZxyz(41.7533, 34.0752, 66.6522)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CD4 #A5D48C
analogous
#978CD4 #BB8CD4 #D48CC9
triadic
#BB8CD4 #D4BB8C #8CD4BB
tetradic
#BB8CD4 #D4978C #A5D48C #8CC9D4
square
#BB8CD4 #D4978C #A5D48C #8CC9D4
split-complementary
#BB8CD4 #C9D48C #8CD497
monochromatic
#833EA7 #A15FC3 #BB8CD4 #D5B9E5 #F0E5F5

Accessibility & contrast

On white

2.69
#BB8CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#BB8CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CD4
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CD4#FFFFFF#000000##000000
##BB8CD41.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#809BD7
Deuteranopia (green-blind)
#8B9FD2
Tritanopia (blue-blind)
#B995A6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb8cd4;
/* rgb */ color: rgb(187, 140, 212);
/* oklch */ color: oklch(71.1% 0.114 313.4);
Tailwind
colors: {
  custom: {
    50: '#d0aee1',
    500: '#bb8cd4',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cd4;
$custom-light: #d0aee1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cd4",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 279.167,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71074,
    "c": 0.11389,
    "h": 313.4
  },
  "luminance": 0.34074
}

Semantic roles & 50–950 ramp

primary
#BB8CD4
secondary
#DBE8D3
accent
#B92D5D
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB8CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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