#822DB2#822DB2

#822DB2 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.202 H 310.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#822DB2
RGBrgb(130, 45, 178)
HSLhsl(278, 60%, 44%)
HSVhsv(278, 75%, 70%)
CMYKcmyk(27%, 74.7%, 0%, 30.2%)
CIE-LABlab(37.55, 57.26, -54.47)
CIE-LCHlch(37.55, 79.03, 316.43°)
OKLaboklab(48.73% 0.1295 -0.1544)
OKLCHoklch(48.73% 0.202 310)
XYZxyz(18.1786, 9.8373, 43.0520)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DB2 #5DB22D
analogous
#3F2DB2 #822DB2 #B22D9F
triadic
#822DB2 #B2822D #2DB282
tetradic
#822DB2 #B23F2D #5DB22D #2D9FB2
square
#822DB2 #B23F2D #5DB22D #2D9FB2
split-complementary
#822DB2 #9FB22D #2DB23F
monochromatic
#3B1450 #5E2181 #822DB2 #A14BD1 #BA7CDE

Accessibility & contrast

On white

7.08
#822DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#822DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822DB2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DB2#FFFFFF#000000##FFFFFF
##822DB21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0A5AAF
Tritanopia (blue-blind)
#7B4C6E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822db2;
/* rgb */ color: rgb(130, 45, 178);
/* oklch */ color: oklch(48.7% 0.202 310.0);
Tailwind
colors: {
  custom: {
    50: '#ab6fca',
    500: '#822db2',
    950: '#000000',
  },
}
SCSS
$custom: #822db2;
$custom-light: #ab6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#822db2",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 278.346,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48725,
    "c": 0.20152,
    "h": 310
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#822DB2
secondary
#92C675
accent
#E3457E
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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