#BB8CD7#BB8CD7

#BB8CD7 is a light, moderate violet. Relative luminance 0.342; OKLCH L 71.2% C 0.117 H 312.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#BB8CD7
RGBrgb(187, 140, 215)
HSLhsl(278, 48%, 70%)
HSVhsv(278, 35%, 84%)
CMYKcmyk(13%, 34.9%, 0%, 15.7%)
CIE-LABlab(65.14, 31.49, -31.61)
CIE-LCHlch(65.14, 44.62, 314.90°)
OKLaboklab(71.21% 0.079 -0.0869)
OKLCHoklch(71.21% 0.117 312.3)
XYZxyz(42.1353, 34.2279, 68.6638)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CD7 #A8D78C
analogous
#968CD7 #BB8CD7 #D78CCE
triadic
#BB8CD7 #D7BB8C #8CD7BB
tetradic
#BB8CD7 #D7968C #A8D78C #8CCED7
square
#BB8CD7 #D7968C #A8D78C #8CCED7
split-complementary
#BB8CD7 #CED78C #8CD796
monochromatic
#833CAD #A05FC7 #BB8CD7 #D6B9E7 #F1E7F7

Accessibility & contrast

On white

2.68
#BB8CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#BB8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CD7
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CD7#FFFFFF#000000##000000
##BB8CD71.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9CDA
Deuteranopia (green-blind)
#8A9FD5
Tritanopia (blue-blind)
#B996A8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb8cd7;
/* rgb */ color: rgb(187, 140, 215);
/* oklch */ color: oklch(71.2% 0.117 312.3);
Tailwind
colors: {
  custom: {
    50: '#d0aee3',
    500: '#bb8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cd7;
$custom-light: #d0aee3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cd7",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 277.6,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71205,
    "c": 0.11748,
    "h": 312.3
  },
  "luminance": 0.34227
}

Semantic roles & 50–950 ramp

primary
#BB8CD7
secondary
#DDEAD5
accent
#BC2A60
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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