#8826C2#8826C2

#8826C2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.1% C 0.225 H 308.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8826C2
RGBrgb(136, 38, 194)
HSLhsl(278, 67%, 45%)
HSVhsv(278, 80%, 76%)
CMYKcmyk(29.9%, 80.4%, 0%, 23.9%)
CIE-LABlab(38.75, 64.25, -61.90)
CIE-LCHlch(38.75, 89.22, 316.07°)
OKLaboklab(50.13% 0.14 -0.176)
OKLCHoklch(50.13% 0.225 308.5)
XYZxyz(20.5820, 10.5159, 51.9740)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8826C2 #60C226
analogous
#3A26C2 #8826C2 #C226AE
triadic
#8826C2 #C28826 #26C288
tetradic
#8826C2 #C23A26 #60C226 #26AEC2
square
#8826C2 #C23A26 #60C226 #26AEC2
split-complementary
#8826C2 #AEC226 #26C23A
monochromatic
#40125C #641C8F #8826C2 #A54ADB #BF7DE6

Accessibility & contrast

On white

6.77
#8826C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8826C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8826C2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8826C2#FFFFFF#000000##FFFFFF
##8826C21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#7F4F75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8826c2;
/* rgb */ color: rgb(136, 38, 194);
/* oklch */ color: oklch(50.1% 0.225 308.5);
Tailwind
colors: {
  custom: {
    50: '#b06dd5',
    500: '#8826c2',
    950: '#000000',
  },
}
SCSS
$custom: #8826c2;
$custom-light: #b06dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8826c2",
  "rgb": {
    "r": 136,
    "g": 38,
    "b": 194
  },
  "hsl": {
    "h": 277.692,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.22489,
    "h": 308.5
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

primary
#8826C2
secondary
#97CE76
accent
#EA3E7E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8826C2

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

Preview Lab → · Contrast checker → · Palette generator →

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