#822597#822597

#822597 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.185 H 319.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#822597
RGBrgb(130, 37, 151)
HSLhsl(289, 61%, 37%)
HSVhsv(289, 75%, 59%)
CMYKcmyk(13.9%, 75.5%, 0%, 40.8%)
CIE-LABlab(34.61, 54.75, -42.97)
CIE-LCHlch(34.61, 69.60, 321.87°)
OKLaboklab(46.05% 0.1409 -0.1206)
OKLCHoklch(46.05% 0.185 319.5)
XYZxyz(15.4527, 8.3041, 30.0611)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822597 #3A9725
analogous
#492597 #822597 #972573
triadic
#822597 #978225 #259782
tetradic
#822597 #974925 #3A9725 #257397
square
#822597 #974925 #3A9725 #257397
split-complementary
#822597 #739725 #259749
monochromatic
#2D0D35 #581966 #822597 #AC31C8 #C15FD8

Accessibility & contrast

On white

7.89
#822597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#822597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822597
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822597#FFFFFF#000000##FFFFFF
##8225971.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#2E5494
Tritanopia (blue-blind)
#823C5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822597;
/* rgb */ color: rgb(130, 37, 151);
/* oklch */ color: oklch(46.0% 0.185 319.5);
Tailwind
colors: {
  custom: {
    50: '#aa6ab6',
    500: '#822597',
    950: '#000000',
  },
}
SCSS
$custom: #822597;
$custom-light: #aa6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#822597",
  "rgb": {
    "r": 130,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 288.947,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46046,
    "c": 0.18548,
    "h": 319.5
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#822597
secondary
#6DBD5B
accent
#E44461
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822597

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

Preview Lab → · Contrast checker → · Palette generator →

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