#822DB8#822DB8

#822DB8 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.207 H 308.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#822DB8
RGBrgb(130, 45, 184)
HSLhsl(277, 61%, 45%)
HSVhsv(277, 76%, 72%)
CMYKcmyk(29.3%, 75.5%, 0%, 27.8%)
CIE-LABlab(37.99, 58.57, -57.30)
CIE-LCHlch(37.99, 81.94, 315.63°)
OKLaboklab(49.18% 0.1284 -0.1627)
OKLCHoklch(49.18% 0.207 308.3)
XYZxyz(18.7942, 10.0836, 46.2944)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DB8 #63B82D
analogous
#3D2DB8 #822DB8 #B82DA8
triadic
#822DB8 #B8822D #2DB882
tetradic
#822DB8 #B83D2D #63B82D #2DA8B8
square
#822DB8 #B83D2D #63B82D #2DA8B8
split-complementary
#822DB8 #A8B82D #2DB83D
monochromatic
#3D1556 #5F2187 #822DB8 #A04ED4 #BA80E0

Accessibility & contrast

On white

6.96
#822DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#822DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822DB8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DB8#FFFFFF#000000##FFFFFF
##822DB81.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#794F71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822db8;
/* rgb */ color: rgb(130, 45, 184);
/* oklch */ color: oklch(49.2% 0.207 308.3);
Tailwind
colors: {
  custom: {
    50: '#ab6fce',
    500: '#822db8',
    950: '#000000',
  },
}
SCSS
$custom: #822db8;
$custom-light: #ab6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#822db8",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 276.691,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49177,
    "c": 0.20727,
    "h": 308.3
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#822DB8
secondary
#97C978
accent
#E44482
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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