#822498#822498

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

Color values

HEX#822498
RGBrgb(130, 36, 152)
HSLhsl(289, 62%, 37%)
HSVhsv(289, 76%, 60%)
CMYKcmyk(14.5%, 76.3%, 0%, 40.4%)
CIE-LABlab(34.55, 55.30, -43.68)
CIE-LCHlch(34.55, 70.47, 321.70°)
OKLaboklab(46.03% 0.1418 -0.1226)
OKLCHoklch(46.03% 0.187 319.1)
XYZxyz(15.5035, 8.2753, 30.4803)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822498 #3A9824
analogous
#482498 #822498 #982474
triadic
#822498 #988224 #249882
tetradic
#822498 #984824 #3A9824 #247498
square
#822498 #984824 #3A9824 #247498
split-complementary
#822498 #749824 #249848
monochromatic
#2D0D35 #581867 #822498 #AC30C9 #C15ED9

Accessibility & contrast

On white

7.91
#822498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822498
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822498#FFFFFF#000000##FFFFFF
##8224981.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#2C5495
Tritanopia (blue-blind)
#823C5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #822498;
/* rgb */ color: rgb(130, 36, 152);
/* oklch */ color: oklch(46.0% 0.187 319.1);
Tailwind
colors: {
  custom: {
    50: '#aa69b7',
    500: '#822498',
    950: '#000000',
  },
}
SCSS
$custom: #822498;
$custom-light: #aa69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#822498",
  "rgb": {
    "r": 130,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 288.621,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46025,
    "c": 0.18745,
    "h": 319.1
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#822498
secondary
#6DBE5A
accent
#E54362
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822498

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

Preview Lab → · Contrast checker → · Palette generator →

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