#822DB5#822DB5

#822DB5 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.204 H 309.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#822DB5
RGBrgb(130, 45, 181)
HSLhsl(278, 60%, 44%)
HSVhsv(278, 75%, 71%)
CMYKcmyk(28.2%, 75.1%, 0%, 29%)
CIE-LABlab(37.77, 57.92, -55.89)
CIE-LCHlch(37.77, 80.48, 316.02°)
OKLaboklab(48.95% 0.129 -0.1585)
OKLCHoklch(48.95% 0.204 309.1)
XYZxyz(18.4831, 9.9591, 44.6557)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DB5 #60B52D
analogous
#3E2DB5 #822DB5 #B52DA4
triadic
#822DB5 #B5822D #2DB582
tetradic
#822DB5 #B53E2D #60B52D #2DA4B5
square
#822DB5 #B53E2D #60B52D #2DA4B5
split-complementary
#822DB5 #A4B52D #2DB53E
monochromatic
#3C1553 #5F2184 #822DB5 #A04DD3 #BA7EDF

Accessibility & contrast

On white

7.02
#822DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#822DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822DB5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DB5#FFFFFF#000000##FFFFFF
##822DB51.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#7A4D6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822db5;
/* rgb */ color: rgb(130, 45, 181);
/* oklch */ color: oklch(48.9% 0.204 309.1);
Tailwind
colors: {
  custom: {
    50: '#ab6fcc',
    500: '#822db5',
    950: '#000000',
  },
}
SCSS
$custom: #822db5;
$custom-light: #ab6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#822db5",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 277.5,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48949,
    "c": 0.20439,
    "h": 309.1
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#822DB5
secondary
#95C776
accent
#E34480
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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