#822DAF#822DAF

#822DAF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.5% C 0.199 H 310.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#822DAF
RGBrgb(130, 45, 175)
HSLhsl(279, 59%, 43%)
HSVhsv(279, 74%, 69%)
CMYKcmyk(25.7%, 74.3%, 0%, 31.4%)
CIE-LABlab(37.33, 56.62, -53.04)
CIE-LCHlch(37.33, 77.58, 316.87°)
OKLaboklab(48.5% 0.1301 -0.1502)
OKLCHoklch(48.5% 0.199 310.9)
XYZxyz(17.8807, 9.7182, 41.4830)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DAF #5AAF2D
analogous
#412DAF #822DAF #AF2D9B
triadic
#822DAF #AF822D #2DAF82
tetradic
#822DAF #AF412D #5AAF2D #2D9BAF
square
#822DAF #AF412D #5AAF2D #2D9BAF
split-complementary
#822DAF #9BAF2D #2DAF41
monochromatic
#3A144E #5E207E #822DAF #A149D0 #BA7ADD

Accessibility & contrast

On white

7.13
#822DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#822DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822DAF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DAF#FFFFFF#000000##FFFFFF
##822DAF1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822daf;
/* rgb */ color: rgb(130, 45, 175);
/* oklch */ color: oklch(48.5% 0.199 310.9);
Tailwind
colors: {
  custom: {
    50: '#ab6ec8',
    500: '#822daf',
    950: '#000000',
  },
}
SCSS
$custom: #822daf;
$custom-light: #ab6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#822daf",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 279.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48503,
    "c": 0.19865,
    "h": 310.9
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#822DAF
secondary
#8FC573
accent
#E2467C
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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