#8826A2#8826A2

#8826A2 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.196 H 318.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8826A2
RGBrgb(136, 38, 162)
HSLhsl(287, 62%, 39%)
HSVhsv(287, 77%, 64%)
CMYKcmyk(16%, 76.5%, 0%, 36.5%)
CIE-LABlab(36.42, 57.76, -46.67)
CIE-LCHlch(36.42, 74.26, 321.06°)
OKLaboklab(47.76% 0.1462 -0.1312)
OKLCHoklch(47.76% 0.196 318.1)
XYZxyz(17.3671, 9.2299, 35.0422)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8826A2 #40A226
analogous
#4A26A2 #8826A2 #A2267E
triadic
#8826A2 #A28826 #26A288
tetradic
#8826A2 #A24A26 #40A226 #267EA2
square
#8826A2 #A24A26 #40A226 #267EA2
split-complementary
#8826A2 #7EA226 #26A24A
monochromatic
#350F3F #5E1A70 #8826A2 #AF35D0 #C367DB

Accessibility & contrast

On white

7.38
#8826A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8826A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8826A2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8826A2#FFFFFF#000000##FFFFFF
##8826A21.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#2C599F
Tritanopia (blue-blind)
#874163
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8826a2;
/* rgb */ color: rgb(136, 38, 162);
/* oklch */ color: oklch(47.8% 0.196 318.1);
Tailwind
colors: {
  custom: {
    50: '#af6bbe',
    500: '#8826a2',
    950: '#000000',
  },
}
SCSS
$custom: #8826a2;
$custom-light: #af6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8826a2",
  "rgb": {
    "r": 136,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 287.419,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.19646,
    "h": 318.1
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

primary
#8826A2
secondary
#76C163
accent
#E54365
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8826A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8826A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva