#822097#822097

#822097 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.191 H 319.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#822097
RGBrgb(130, 32, 151)
HSLhsl(289, 65%, 36%)
HSVhsv(289, 79%, 59%)
CMYKcmyk(13.9%, 78.8%, 0%, 40.8%)
CIE-LABlab(34.01, 56.47, -43.93)
CIE-LCHlch(34.01, 71.54, 322.12°)
OKLaboklab(45.62% 0.1455 -0.1233)
OKLCHoklch(45.62% 0.191 319.7)
XYZxyz(15.3076, 8.0140, 30.0127)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822097 #359720
analogous
#462097 #822097 #972070
triadic
#822097 #978220 #209782
tetradic
#822097 #974620 #359720 #207097
square
#822097 #974620 #359720 #207097
split-complementary
#822097 #709720 #209746
monochromatic
#2B0B32 #571564 #822097 #AD2BC9 #C456DB

Accessibility & contrast

On white

8.07
#822097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#822097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822097
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822097#FFFFFF#000000##FFFFFF
##8220971.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#2B5394
Tritanopia (blue-blind)
#823A5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #822097;
/* rgb */ color: rgb(130, 32, 151);
/* oklch */ color: oklch(45.6% 0.191 319.7);
Tailwind
colors: {
  custom: {
    50: '#aa68b6',
    500: '#822097',
    950: '#000000',
  },
}
SCSS
$custom: #822097;
$custom-light: #aa68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#822097",
  "rgb": {
    "r": 130,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 289.412,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45623,
    "c": 0.19071,
    "h": 319.7
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#822097
secondary
#67BF54
accent
#E8405D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822097

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

Preview Lab → · Contrast checker → · Palette generator →

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