#BB8EC4#BB8EC4

#BB8EC4 is a light, moderate purple. Relative luminance 0.339; OKLCH L 70.8% C 0.092 H 320.7°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#BB8EC4
RGBrgb(187, 142, 196)
HSLhsl(290, 31%, 66%)
HSVhsv(290, 28%, 77%)
CMYKcmyk(4.6%, 27.6%, 0%, 23.1%)
CIE-LABlab(64.88, 26.47, -21.40)
CIE-LCHlch(64.88, 34.04, 321.05°)
OKLaboklab(70.77% 0.071 -0.0581)
OKLCHoklch(70.77% 0.092 320.7)
XYZxyz(40.1290, 33.8973, 56.6428)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EC4 #97C48E
analogous
#A08EC4 #BB8EC4 #C48EB2
triadic
#BB8EC4 #C4BB8E #8EC4BB
tetradic
#BB8EC4 #C4A08E #97C48E #8EB2C4
square
#BB8EC4 #C4A08E #97C48E #8EB2C4
split-complementary
#BB8EC4 #B2C48E #8EC4A0
monochromatic
#824A8E #A366AF #BB8EC4 #D3B6D9 #EBDEEE

Accessibility & contrast

On white

2.70
#BB8EC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#BB8EC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EC4
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EC4#FFFFFF#000000##000000
##BB8EC41.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#889AC6
Deuteranopia (green-blind)
#929FC2
Tritanopia (blue-blind)
#BC94A1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb8ec4;
/* rgb */ color: rgb(187, 142, 196);
/* oklch */ color: oklch(70.8% 0.092 320.7);
Tailwind
colors: {
  custom: {
    50: '#d0afd6',
    500: '#bb8ec4',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ec4;
$custom-light: #d0afd6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ec4",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 196
  },
  "hsl": {
    "h": 290,
    "s": 31.395,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70765,
    "c": 0.09171,
    "h": 320.7
  },
  "luminance": 0.33896
}

Semantic roles & 50–950 ramp

primary
#BB8EC4
secondary
#D1E0CE
accent
#AA3B4E
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83

Preview Lab

Preview with #BB8EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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