#822EAF#822EAF

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

Color values

HEX#822EAF
RGBrgb(130, 46, 175)
HSLhsl(279, 58%, 43%)
HSVhsv(279, 74%, 69%)
CMYKcmyk(25.7%, 73.7%, 0%, 31.4%)
CIE-LABlab(37.47, 56.22, -52.81)
CIE-LCHlch(37.47, 77.13, 316.79°)
OKLaboklab(48.6% 0.1291 -0.1495)
OKLCHoklch(48.6% 0.198 310.8)
XYZxyz(17.9193, 9.7954, 41.4959)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EAF #5BAF2E
analogous
#422EAF #822EAF #AF2E9B
triadic
#822EAF #AF822E #2EAF82
tetradic
#822EAF #AF422E #5BAF2E #2E9BAF
square
#822EAF #AF422E #5BAF2E #2E9BAF
split-complementary
#822EAF #9BAF2E #2EAF42
monochromatic
#3A154E #5E217F #822EAF #A14BD0 #BA7BDC

Accessibility & contrast

On white

7.10
#822EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#822EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822EAF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EAF#FFFFFF#000000##FFFFFF
##822EAF1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#165AAC
Tritanopia (blue-blind)
#7C4B6C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822eaf;
/* rgb */ color: rgb(130, 46, 175);
/* oklch */ color: oklch(48.6% 0.198 310.8);
Tailwind
colors: {
  custom: {
    50: '#ab6fc8',
    500: '#822eaf',
    950: '#000000',
  },
}
SCSS
$custom: #822eaf;
$custom-light: #ab6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#822eaf",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 279.07,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.19751,
    "h": 310.8
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#822EAF
secondary
#90C574
accent
#E2467C
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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