#BB8ECB#BB8ECB

#BB8ECB is a light, moderate purple. Relative luminance 0.342; OKLCH L 71.0% C 0.100 H 317.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#BB8ECB
RGBrgb(187, 142, 203)
HSLhsl(284, 37%, 68%)
HSVhsv(284, 30%, 80%)
CMYKcmyk(7.9%, 30%, 0%, 20.4%)
CIE-LABlab(65.14, 27.88, -24.92)
CIE-LCHlch(65.14, 37.40, 318.21°)
OKLaboklab(71.05% 0.073 -0.068)
OKLCHoklch(71.05% 0.1 317)
XYZxyz(40.9444, 34.2234, 60.9372)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8ECB #9ECB8E
analogous
#9C8ECB #BB8ECB #CB8EBD
triadic
#BB8ECB #CBBB8E #8ECBBB
tetradic
#BB8ECB #CB9C8E #9ECB8E #8EBDCB
square
#BB8ECB #CB9C8E #9ECB8E #8EBDCB
split-complementary
#BB8ECB #BDCB8E #8ECB9C
monochromatic
#834698 #A264B8 #BB8ECB #D4B8DE #EDE2F2

Accessibility & contrast

On white

2.68
#BB8ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#BB8ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8ECB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8ECB#FFFFFF#000000##000000
##BB8ECB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCD
Deuteranopia (green-blind)
#90A0C9
Tritanopia (blue-blind)
#BB95A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb8ecb;
/* rgb */ color: rgb(187, 142, 203);
/* oklch */ color: oklch(71.0% 0.100 317.0);
Tailwind
colors: {
  custom: {
    50: '#d0afdb',
    500: '#bb8ecb',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ecb;
$custom-light: #d0afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ecb",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 284.262,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71048,
    "c": 0.09973,
    "h": 317
  },
  "luminance": 0.34223
}

Semantic roles & 50–950 ramp

primary
#BB8ECB
secondary
#D6E4D1
accent
#B03656
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BB8ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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