#BB8CD9#BB8CD9

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

Color values

HEX#BB8CD9
RGBrgb(187, 140, 217)
HSLhsl(277, 50%, 70%)
HSVhsv(277, 35%, 85%)
CMYKcmyk(13.8%, 35.5%, 0%, 14.9%)
CIE-LABlab(65.22, 31.92, -32.59)
CIE-LCHlch(65.22, 45.62, 314.40°)
OKLaboklab(71.29% 0.0795 -0.0897)
OKLCHoklch(71.29% 0.12 311.5)
XYZxyz(42.3938, 34.3314, 70.0255)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8CD9 #AAD98C
analogous
#948CD9 #BB8CD9 #D98CD1
triadic
#BB8CD9 #D9BB8C #8CD9BB
tetradic
#BB8CD9 #D9948C #AAD98C #8CD1D9
square
#BB8CD9 #D9948C #AAD98C #8CD1D9
split-complementary
#BB8CD9 #D1D98C #8CD994
monochromatic
#823AB0 #A05ECA #BB8CD9 #D6BAE8 #F1E8F7

Accessibility & contrast

On white

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

On black

7.87
#BB8CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8CD9
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8CD9#FFFFFF#000000##000000
##BB8CD91.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9CDC
Deuteranopia (green-blind)
#899FD7
Tritanopia (blue-blind)
#B897A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb8cd9;
/* rgb */ color: rgb(187, 140, 217);
/* oklch */ color: oklch(71.3% 0.120 311.5);
Tailwind
colors: {
  custom: {
    50: '#d0aee5',
    500: '#bb8cd9',
    950: '#000000',
  },
}
SCSS
$custom: #bb8cd9;
$custom-light: #d0aee5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8cd9",
  "rgb": {
    "r": 187,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 276.623,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.71294,
    "c": 0.11989,
    "h": 311.5
  },
  "luminance": 0.34331
}

Semantic roles & 50–950 ramp

primary
#BB8CD9
secondary
#DEEBD6
accent
#BE2862
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141015
muted
#827F84

Preview Lab

Preview with #BB8CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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