#822698#822698

#822698 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.185 H 319.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#822698
RGBrgb(130, 38, 152)
HSLhsl(288, 60%, 37%)
HSVhsv(288, 75%, 60%)
CMYKcmyk(14.5%, 75%, 0%, 40.4%)
CIE-LABlab(34.80, 54.58, -43.27)
CIE-LCHlch(34.80, 69.65, 321.59°)
OKLaboklab(46.2% 0.1399 -0.1215)
OKLCHoklch(46.2% 0.185 319)
XYZxyz(15.5658, 8.3998, 30.5011)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822698 #3C9826
analogous
#492698 #822698 #982675
triadic
#822698 #988226 #269882
tetradic
#822698 #984926 #3C9826 #267598
square
#822698 #984926 #3C9826 #267598
split-complementary
#822698 #759826 #269849
monochromatic
#2E0E36 #581A67 #822698 #AC32C9 #C161D7

Accessibility & contrast

On white

7.84
#822698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#822698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822698
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822698#FFFFFF#000000##FFFFFF
##8226981.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822698;
/* rgb */ color: rgb(130, 38, 152);
/* oklch */ color: oklch(46.2% 0.185 319.0);
Tailwind
colors: {
  custom: {
    50: '#aa6ab7',
    500: '#822698',
    950: '#000000',
  },
}
SCSS
$custom: #822698;
$custom-light: #aa6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#822698",
  "rgb": {
    "r": 130,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 288.421,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46204,
    "c": 0.18525,
    "h": 319
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#822698
secondary
#6FBD5D
accent
#E34563
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822698

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

Preview Lab → · Contrast checker → · Palette generator →

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