#822AC0#822AC0

#822AC0 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.218 H 306.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#822AC0
RGBrgb(130, 42, 192)
HSLhsl(275, 64%, 46%)
HSVhsv(275, 78%, 75%)
CMYKcmyk(32.3%, 78.1%, 0%, 24.7%)
CIE-LABlab(38.21, 61.45, -61.65)
CIE-LCHlch(38.21, 87.05, 314.91°)
OKLaboklab(49.52% 0.1292 -0.1754)
OKLCHoklch(49.52% 0.218 306.4)
XYZxyz(19.5462, 10.2077, 50.7995)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822AC0 #68C02A
analogous
#372AC0 #822AC0 #C02AB3
triadic
#822AC0 #C0822A #2AC082
tetradic
#822AC0 #C0372A #68C02A #2AB3C0
square
#822AC0 #C0372A #68C02A #2AB3C0
split-complementary
#822AC0 #B3C02A #2AC037
monochromatic
#3E145C #601F8E #822AC0 #A04FD8 #BB81E3

Accessibility & contrast

On white

6.90
#822AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#822AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822AC0
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822AC0#FFFFFF#000000##FFFFFF
##822AC01.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#775175
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822ac0;
/* rgb */ color: rgb(130, 42, 192);
/* oklch */ color: oklch(49.5% 0.218 306.4);
Tailwind
colors: {
  custom: {
    50: '#ac6ed4',
    500: '#822ac0',
    950: '#000000',
  },
}
SCSS
$custom: #822ac0;
$custom-light: #ac6ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#822ac0",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 275.2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49523,
    "c": 0.21791,
    "h": 306.4
  },
  "luminance": 0.10208
}

Semantic roles & 50–950 ramp

primary
#822AC0
secondary
#9CCC7A
accent
#E74185
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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