#BB8EDC#BB8EDC

#BB8EDC is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.8% C 0.120 H 310.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BB8EDC
RGBrgb(187, 142, 220)
HSLhsl(275, 53%, 71%)
HSVhsv(275, 35%, 86%)
CMYKcmyk(15%, 35.5%, 0%, 13.7%)
CIE-LABlab(65.81, 31.45, -33.35)
CIE-LCHlch(65.81, 45.84, 313.32°)
OKLaboklab(71.78% 0.0773 -0.0919)
OKLCHoklch(71.78% 0.12 310)
XYZxyz(43.0825, 35.0786, 72.1975)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EDC #AFDC8E
analogous
#948EDC #BB8EDC #DC8ED6
triadic
#BB8EDC #DCBB8E #8EDCBB
tetradic
#BB8EDC #DC948E #AFDC8E #8ED6DC
square
#BB8EDC #DC948E #AFDC8E #8ED6DC
split-complementary
#BB8EDC #D6DC8E #8EDC94
monochromatic
#8239B7 #9F5FCE #BB8EDC #D7BDEA #F1E8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB8EDC#FFFFFF#000000##000000
##BB8EDC1.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)
#7F9EDF
Deuteranopia (green-blind)
#8AA1DA
Tritanopia (blue-blind)
#B799AB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8edc;
/* rgb */ color: rgb(187, 142, 220);
/* oklch */ color: oklch(71.8% 0.120 310.0);
Tailwind
colors: {
  custom: {
    50: '#d0afe7',
    500: '#bb8edc',
    950: '#000000',
  },
}
SCSS
$custom: #bb8edc;
$custom-light: #d0afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8edc",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 220
  },
  "hsl": {
    "h": 274.615,
    "s": 52.703,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71779,
    "c": 0.12009,
    "h": 310
  },
  "luminance": 0.35078
}

Semantic roles & 50–950 ramp

primary
#BB8EDC
secondary
#E1EDD9
accent
#C02567
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB8EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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