#8827B2#8827B2

#8827B2 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.210 H 312.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8827B2
RGBrgb(136, 39, 178)
HSLhsl(282, 64%, 43%)
HSVhsv(282, 78%, 70%)
CMYKcmyk(23.6%, 78.1%, 0%, 30.2%)
CIE-LABlab(37.66, 60.60, -54.24)
CIE-LCHlch(37.66, 81.33, 318.17°)
OKLaboklab(48.99% 0.1428 -0.1535)
OKLCHoklch(48.99% 0.21 312.9)
XYZxyz(18.9133, 9.9002, 43.0255)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8827B2 #51B227
analogous
#4327B2 #8827B2 #B22796
triadic
#8827B2 #B28827 #27B288
tetradic
#8827B2 #B24327 #51B227 #2796B2
square
#8827B2 #B24327 #51B227 #2796B2
split-complementary
#8827B2 #96B227 #27B243
monochromatic
#3B114E #621C80 #8827B2 #A841D5 #BF73E0

Accessibility & contrast

On white

7.05
#8827B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8827B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8827B2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8827B2#FFFFFF#000000##FFFFFF
##8827B21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#135BAF
Tritanopia (blue-blind)
#83486C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8827b2;
/* rgb */ color: rgb(136, 39, 178);
/* oklch */ color: oklch(49.0% 0.210 312.9);
Tailwind
colors: {
  custom: {
    50: '#af6dca',
    500: '#8827b2',
    950: '#000000',
  },
}
SCSS
$custom: #8827b2;
$custom-light: #af6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8827b2",
  "rgb": {
    "r": 136,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 281.871,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48986,
    "c": 0.20962,
    "h": 312.9
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#8827B2
secondary
#89C86D
accent
#E74173
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8827B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8827B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva