#822FAE#822FAE

#822FAE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.6% C 0.195 H 311.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#822FAE
RGBrgb(130, 47, 174)
HSLhsl(279, 57%, 43%)
HSVhsv(279, 73%, 68%)
CMYKcmyk(25.3%, 73%, 0%, 31.8%)
CIE-LABlab(37.55, 55.59, -52.10)
CIE-LCHlch(37.55, 76.19, 316.86°)
OKLaboklab(48.63% 0.1283 -0.1474)
OKLCHoklch(48.63% 0.195 311)
XYZxyz(17.8610, 9.8353, 40.9937)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FAE #5BAE2F
analogous
#432FAE #822FAE #AE2F9A
triadic
#822FAE #AE822F #2FAE82
tetradic
#822FAE #AE432F #5BAE2F #2F9AAE
square
#822FAE #AE432F #5BAE2F #2F9AAE
split-complementary
#822FAE #9AAE2F #2FAE43
monochromatic
#3A154E #5E227E #822FAE #A14CCF #BA7CDC

Accessibility & contrast

On white

7.08
#822FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#822FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822FAE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FAE#FFFFFF#000000##FFFFFF
##822FAE1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#195AAB
Tritanopia (blue-blind)
#7C4C6C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822fae;
/* rgb */ color: rgb(130, 47, 174);
/* oklch */ color: oklch(48.6% 0.195 311.0);
Tailwind
colors: {
  custom: {
    50: '#ab6fc7',
    500: '#822fae',
    950: '#000000',
  },
}
SCSS
$custom: #822fae;
$custom-light: #ab6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#822fae",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 279.213,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.19539,
    "h": 311
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#822FAE
secondary
#90C475
accent
#E1477C
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #822FAE

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

Preview Lab → · Contrast checker → · Palette generator →

#822FAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva