#822DB4#822DB4

#822DB4 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.203 H 309.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#822DB4
RGBrgb(130, 45, 180)
HSLhsl(278, 60%, 44%)
HSVhsv(278, 75%, 71%)
CMYKcmyk(27.8%, 75%, 0%, 29.4%)
CIE-LABlab(37.70, 57.70, -55.42)
CIE-LCHlch(37.70, 80.00, 316.16°)
OKLaboklab(48.87% 0.1292 -0.1572)
OKLCHoklch(48.87% 0.203 309.4)
XYZxyz(18.3809, 9.9182, 44.1173)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DB4 #5FB42D
analogous
#3F2DB4 #822DB4 #B42DA3
triadic
#822DB4 #B4822D #2DB482
tetradic
#822DB4 #B43F2D #5FB42D #2DA3B4
square
#822DB4 #B43F2D #5FB42D #2DA3B4
split-complementary
#822DB4 #A3B42D #2DB43F
monochromatic
#3B1552 #5F2183 #822DB4 #A14CD2 #BA7DDE

Accessibility & contrast

On white

7.04
#822DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#822DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822DB4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DB4#FFFFFF#000000##FFFFFF
##822DB41.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#025AB1
Tritanopia (blue-blind)
#7B4D6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822db4;
/* rgb */ color: rgb(130, 45, 180);
/* oklch */ color: oklch(48.9% 0.203 309.4);
Tailwind
colors: {
  custom: {
    50: '#ab6fcb',
    500: '#822db4',
    950: '#000000',
  },
}
SCSS
$custom: #822db4;
$custom-light: #ab6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#822db4",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 277.778,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48874,
    "c": 0.20344,
    "h": 309.4
  },
  "luminance": 0.09918
}

Semantic roles & 50–950 ramp

primary
#822DB4
secondary
#94C776
accent
#E3457F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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