#BB8EDA#BB8EDA

#BB8EDA is a light, moderate violet. Relative luminance 0.350; OKLCH L 71.7% C 0.118 H 310.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#BB8EDA
RGBrgb(187, 142, 218)
HSLhsl(276, 51%, 71%)
HSVhsv(276, 35%, 85%)
CMYKcmyk(14.2%, 34.9%, 0%, 14.5%)
CIE-LABlab(65.73, 31.02, -32.37)
CIE-LCHlch(65.73, 44.83, 313.78°)
OKLaboklab(71.69% 0.0768 -0.0891)
OKLCHoklch(71.69% 0.118 310.8)
XYZxyz(42.8192, 34.9733, 70.8109)
Luminance0.3497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EDA #ADDA8E
analogous
#958EDA #BB8EDA #DA8ED3
triadic
#BB8EDA #DABB8E #8EDABB
tetradic
#BB8EDA #DA958E #ADDA8E #8ED3DA
square
#BB8EDA #DA958E #ADDA8E #8ED3DA
split-complementary
#BB8EDA #D3DA8E #8EDA95
monochromatic
#823BB3 #9F60CB #BB8EDA #D7BCE9 #F1E8F7

Accessibility & contrast

On white

2.63
#BB8EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#BB8EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EDA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EDA#FFFFFF#000000##000000
##BB8EDA1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#809DDD
Deuteranopia (green-blind)
#8AA1D8
Tritanopia (blue-blind)
#B899AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb8eda;
/* rgb */ color: rgb(187, 142, 218);
/* oklch */ color: oklch(71.7% 0.118 310.8);
Tailwind
colors: {
  custom: {
    50: '#d0afe5',
    500: '#bb8eda',
    950: '#000000',
  },
}
SCSS
$custom: #bb8eda;
$custom-light: #d0afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8eda",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 275.526,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71689,
    "c": 0.11765,
    "h": 310.8
  },
  "luminance": 0.34973
}

Semantic roles & 50–950 ramp

primary
#BB8EDA
secondary
#E0ECD8
accent
#BE2765
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB8EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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