#822997#822997

#822997 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.181 H 319.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#822997
RGBrgb(130, 41, 151)
HSLhsl(289, 57%, 38%)
HSVhsv(289, 73%, 59%)
CMYKcmyk(13.9%, 72.8%, 0%, 40.8%)
CIE-LABlab(35.14, 53.25, -42.13)
CIE-LCHlch(35.14, 67.90, 321.65°)
OKLaboklab(46.42% 0.137 -0.1181)
OKLCHoklch(46.42% 0.181 319.2)
XYZxyz(15.5840, 8.5668, 30.1048)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822997 #3E9729
analogous
#4B2997 #822997 #972975
triadic
#822997 #978229 #299782
tetradic
#822997 #974B29 #3E9729 #297597
square
#822997 #974B29 #3E9729 #297597
split-complementary
#822997 #759729 #29974B
monochromatic
#2F0F37 #591C67 #822997 #AB36C7 #C065D5

Accessibility & contrast

On white

7.74
#822997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#822997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822997
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822997#FFFFFF#000000##FFFFFF
##8229971.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#315694
Tritanopia (blue-blind)
#823E5D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #822997;
/* rgb */ color: rgb(130, 41, 151);
/* oklch */ color: oklch(46.4% 0.181 319.2);
Tailwind
colors: {
  custom: {
    50: '#aa6cb6',
    500: '#822997',
    950: '#000000',
  },
}
SCSS
$custom: #822997;
$custom-light: #aa6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#822997",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 288.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46422,
    "c": 0.18087,
    "h": 319.2
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

primary
#822997
secondary
#72BB61
accent
#E14765
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822997

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

Preview Lab → · Contrast checker → · Palette generator →

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