#822686#822686

#822686 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.170 H 326.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#822686
RGBrgb(130, 38, 134)
HSLhsl(298, 56%, 34%)
HSVhsv(298, 72%, 53%)
CMYKcmyk(3%, 71.6%, 0%, 47.5%)
CIE-LABlab(33.68, 51.19, -34.01)
CIE-LCHlch(33.68, 61.46, 326.41°)
OKLaboklab(45.04% 0.1408 -0.0944)
OKLCHoklch(45.04% 0.17 326.2)
XYZxyz(14.2018, 7.8542, 23.3176)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822686 #2A8626
analogous
#522686 #822686 #86265A
triadic
#822686 #868226 #268682
tetradic
#822686 #865226 #2A8626 #265A86
square
#822686 #865226 #2A8626 #265A86
split-complementary
#822686 #5A8626 #268652
monochromatic
#250B27 #541856 #822686 #B034B6 #CA57CF

Accessibility & contrast

On white

8.17
#822686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#822686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822686
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822686#FFFFFF#000000##FFFFFF
##8226861.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114889
Deuteranopia (green-blind)
#3B5384
Tritanopia (blue-blind)
#853553
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #822686;
/* rgb */ color: rgb(130, 38, 134);
/* oklch */ color: oklch(45.0% 0.170 326.2);
Tailwind
colors: {
  custom: {
    50: '#a969aa',
    500: '#822686',
    950: '#000000',
  },
}
SCSS
$custom: #822686;
$custom-light: #a969aa;
$custom-dark: #000000;
JSON
{
  "hex": "#822686",
  "rgb": {
    "r": 130,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 297.5,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45041,
    "c": 0.16953,
    "h": 326.2
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#822686
secondary
#58B454
accent
#DF494F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822686

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

Preview Lab → · Contrast checker → · Palette generator →

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