#822598#822598

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

Color values

HEX#822598
RGBrgb(130, 37, 152)
HSLhsl(289, 61%, 37%)
HSVhsv(289, 76%, 60%)
CMYKcmyk(14.5%, 75.7%, 0%, 40.4%)
CIE-LABlab(34.67, 54.95, -43.48)
CIE-LCHlch(34.67, 70.07, 321.65°)
OKLaboklab(46.11% 0.1408 -0.122)
OKLCHoklch(46.11% 0.186 319.1)
XYZxyz(15.5342, 8.3367, 30.4906)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822598 #3B9825
analogous
#492598 #822598 #982575
triadic
#822598 #988225 #259882
tetradic
#822598 #984925 #3B9825 #257598
square
#822598 #984925 #3B9825 #257598
split-complementary
#822598 #759825 #259849
monochromatic
#2E0D36 #581967 #822598 #AC31C9 #C15FD8

Accessibility & contrast

On white

7.87
#822598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#822598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822598
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822598#FFFFFF#000000##FFFFFF
##8225981.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#2D5595
Tritanopia (blue-blind)
#823D5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822598;
/* rgb */ color: rgb(130, 37, 152);
/* oklch */ color: oklch(46.1% 0.186 319.1);
Tailwind
colors: {
  custom: {
    50: '#aa6ab7',
    500: '#822598',
    950: '#000000',
  },
}
SCSS
$custom: #822598;
$custom-light: #aa6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#822598",
  "rgb": {
    "r": 130,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 288.522,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46114,
    "c": 0.18637,
    "h": 319.1
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#822598
secondary
#6EBD5C
accent
#E44462
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822598

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

Preview Lab → · Contrast checker → · Palette generator →

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