#BB8CD8#BB8CD8

#BB8CD8 is a light, moderate violet. Relative luminance 0.343; OKLCH L 71.3% C 0.119 H 311.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#BB8CD8
RGBrgb(187, 140, 216)
HSLhsl(277, 49%, 70%)
HSVhsv(277, 35%, 85%)
CMYKcmyk(13.4%, 35.2%, 0%, 15.3%)
CIE-LABlab(65.18, 31.70, -32.10)
CIE-LCHlch(65.18, 45.12, 314.65°)
OKLaboklab(71.25% 0.0793 -0.0883)
OKLCHoklch(71.25% 0.119 311.9)
XYZxyz(42.2642, 34.2795, 69.3426)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CD8 #A9D88C
analogous
#958CD8 #BB8CD8 #D88CCF
triadic
#BB8CD8 #D8BB8C #8CD8BB
tetradic
#BB8CD8 #D8958C #A9D88C #8CCFD8
square
#BB8CD8 #D8958C #A9D88C #8CCFD8
split-complementary
#BB8CD8 #CFD88C #8CD895
monochromatic
#823BAE #A05EC9 #BB8CD8 #D6BAE7 #F1E7F7

Accessibility & contrast

On white

2.67
#BB8CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#BB8CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CD8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CD8#FFFFFF#000000##000000
##BB8CD81.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9CDB
Deuteranopia (green-blind)
#899FD6
Tritanopia (blue-blind)
#B896A8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb8cd8;
/* rgb */ color: rgb(187, 140, 216);
/* oklch */ color: oklch(71.3% 0.119 311.9);
Tailwind
colors: {
  custom: {
    50: '#d0aee4',
    500: '#bb8cd8',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cd8;
$custom-light: #d0aee4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cd8",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 277.105,
    "s": 49.351,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7125,
    "c": 0.11868,
    "h": 311.9
  },
  "luminance": 0.34279
}

Semantic roles & 50–950 ramp

primary
#BB8CD8
secondary
#DDEBD5
accent
#BD2961
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB8CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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