#BB8FD7#BB8FD7

#BB8FD7 is a light, moderate violet. Relative luminance 0.351; OKLCH L 71.7% C 0.112 H 311.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BB8FD7
RGBrgb(187, 143, 215)
HSLhsl(277, 47%, 70%)
HSVhsv(277, 33%, 84%)
CMYKcmyk(13%, 33.5%, 0%, 15.7%)
CIE-LABlab(65.84, 29.83, -30.53)
CIE-LCHlch(65.84, 42.68, 314.33°)
OKLaboklab(71.73% 0.0746 -0.0839)
OKLCHoklch(71.73% 0.112 311.7)
XYZxyz(42.5796, 35.1166, 68.8119)
Luminance0.3512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8FD7 #ABD78F
analogous
#978FD7 #BB8FD7 #D78FCF
triadic
#BB8FD7 #D7BB8F #8FD7BB
tetradic
#BB8FD7 #D7978F #ABD78F #8FCFD7
square
#BB8FD7 #D7978F #ABD78F #8FCFD7
split-complementary
#BB8FD7 #CFD78F #8FD797
monochromatic
#823EAE #A062C7 #BB8FD7 #D6BCE7 #F1E8F7

Accessibility & contrast

On white

2.62
#BB8FD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BB8FD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8FD7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8FD7#FFFFFF#000000##000000
##BB8FD71.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#839EDA
Deuteranopia (green-blind)
#8CA1D5
Tritanopia (blue-blind)
#B899A9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8fd7;
/* rgb */ color: rgb(187, 143, 215);
/* oklch */ color: oklch(71.7% 0.112 311.7);
Tailwind
colors: {
  custom: {
    50: '#d0b0e3',
    500: '#bb8fd7',
    950: '#000000',
  },
}
SCSS
$custom: #bb8fd7;
$custom-light: #d0b0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8fd7",
  "rgb": {
    "r": 187,
    "g": 143,
    "b": 215
  },
  "hsl": {
    "h": 276.667,
    "s": 47.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71734,
    "c": 0.11228,
    "h": 311.7
  },
  "luminance": 0.35116
}

Semantic roles & 50–950 ramp

primary
#BB8FD7
secondary
#DFEBD7
accent
#BB2B63
background
#FCFAFD
surface
#F9F5FB
border
#D2CFD4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB8FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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