#822DC9#822DC9

#822DC9 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.5% C 0.224 H 303.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#822DC9
RGBrgb(130, 45, 201)
HSLhsl(273, 63%, 48%)
HSVhsv(273, 78%, 79%)
CMYKcmyk(35.3%, 77.6%, 0%, 21.2%)
CIE-LABlab(39.31, 62.35, -65.12)
CIE-LCHlch(39.31, 90.15, 313.76°)
OKLaboklab(50.51% 0.1246 -0.1857)
OKLCHoklch(50.51% 0.224 303.9)
XYZxyz(20.6845, 10.8397, 56.2496)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DC9 #74C92D
analogous
#342DC9 #822DC9 #C92DC2
triadic
#822DC9 #C9822D #2DC982
tetradic
#822DC9 #C9342D #74C92D #2DC2C9
square
#822DC9 #C9342D #74C92D #2DC2C9
split-complementary
#822DC9 #C2C92D #2DC934
monochromatic
#411765 #622297 #822DC9 #9F59DA #BC8BE5

Accessibility & contrast

On white

6.63
#822DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#822DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822DC9
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DC9#FFFFFF#000000##FFFFFF
##822DC91.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#74567B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #822dc9;
/* rgb */ color: rgb(130, 45, 201);
/* oklch */ color: oklch(50.5% 0.224 303.9);
Tailwind
colors: {
  custom: {
    50: '#ad70da',
    500: '#822dc9',
    950: '#000000',
  },
}
SCSS
$custom: #822dc9;
$custom-light: #ad70da;
$custom-dark: #000000;
JSON
{
  "hex": "#822dc9",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 272.692,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50512,
    "c": 0.2236,
    "h": 303.9
  },
  "luminance": 0.1084
}

Semantic roles & 50–950 ramp

primary
#822DC9
secondary
#A5CF83
accent
#E6418C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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