#822688#822688

#822688 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.171 H 325.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#822688
RGBrgb(130, 38, 136)
HSLhsl(296, 56%, 34%)
HSVhsv(296, 72%, 53%)
CMYKcmyk(4.4%, 72.1%, 0%, 46.7%)
CIE-LABlab(33.80, 51.56, -35.06)
CIE-LCHlch(33.80, 62.35, 325.79°)
OKLaboklab(45.16% 0.1408 -0.0975)
OKLCHoklch(45.16% 0.171 325.3)
XYZxyz(14.3426, 7.9105, 24.0592)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822688 #2C8826
analogous
#512688 #822688 #88265D
triadic
#822688 #888226 #268882
tetradic
#822688 #885126 #2C8826 #265D88
square
#822688 #885126 #2C8826 #265D88
split-complementary
#822688 #5D8826 #268851
monochromatic
#270B28 #541958 #822688 #B033B8 #C958D0

Accessibility & contrast

On white

8.13
#822688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#822688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822688
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822688#FFFFFF#000000##FFFFFF
##8226881.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D488B
Deuteranopia (green-blind)
#3A5386
Tritanopia (blue-blind)
#853654
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #822688;
/* rgb */ color: rgb(130, 38, 136);
/* oklch */ color: oklch(45.2% 0.171 325.3);
Tailwind
colors: {
  custom: {
    50: '#a96aab',
    500: '#822688',
    950: '#000000',
  },
}
SCSS
$custom: #822688;
$custom-light: #a96aab;
$custom-dark: #000000;
JSON
{
  "hex": "#822688",
  "rgb": {
    "r": 130,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 296.327,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.17124,
    "h": 325.3
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#822688
secondary
#5BB555
accent
#E04851
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822688

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

Preview Lab → · Contrast checker → · Palette generator →

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