#822DBA#822DBA

#822DBA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.209 H 307.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#822DBA
RGBrgb(130, 45, 186)
HSLhsl(276, 61%, 45%)
HSVhsv(276, 76%, 73%)
CMYKcmyk(30.1%, 75.8%, 0%, 27.1%)
CIE-LABlab(38.14, 59.01, -58.24)
CIE-LCHlch(38.14, 82.91, 315.38°)
OKLaboklab(49.33% 0.128 -0.1654)
OKLCHoklch(49.33% 0.209 307.7)
XYZxyz(19.0054, 10.1680, 47.4063)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DBA #65BA2D
analogous
#3B2DBA #822DBA #BA2DAC
triadic
#822DBA #BA822D #2DBA82
tetradic
#822DBA #BA3B2D #65BA2D #2DACBA
square
#822DBA #BA3B2D #65BA2D #2DACBA
split-complementary
#822DBA #ACBA2D #2DBA3B
monochromatic
#3D1557 #602189 #822DBA #A050D5 #BB81E0

Accessibility & contrast

On white

6.92
#822DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#822DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822DBA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DBA#FFFFFF#000000##FFFFFF
##822DBA1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#795072
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822dba;
/* rgb */ color: rgb(130, 45, 186);
/* oklch */ color: oklch(49.3% 0.209 307.7);
Tailwind
colors: {
  custom: {
    50: '#ab6fd0',
    500: '#822dba',
    950: '#000000',
  },
}
SCSS
$custom: #822dba;
$custom-light: #ab6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#822dba",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 276.17,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4933,
    "c": 0.20919,
    "h": 307.7
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#822DBA
secondary
#99C979
accent
#E44483
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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