#822ABA#822ABA

#822ABA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.1% C 0.212 H 308.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#822ABA
RGBrgb(130, 42, 186)
HSLhsl(277, 63%, 45%)
HSVhsv(277, 77%, 73%)
CMYKcmyk(30.1%, 77.4%, 0%, 27.1%)
CIE-LABlab(37.75, 60.14, -58.88)
CIE-LCHlch(37.75, 84.17, 315.61°)
OKLaboklab(49.05% 0.1306 -0.1673)
OKLCHoklch(49.05% 0.212 308)
XYZxyz(18.8949, 9.9472, 47.3695)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822ABA #62BA2A
analogous
#3A2ABA #822ABA #BA2AAA
triadic
#822ABA #BA822A #2ABA82
tetradic
#822ABA #BA3A2A #62BA2A #2AAABA
square
#822ABA #BA3A2A #62BA2A #2AAABA
split-complementary
#822ABA #AABA2A #2ABA3A
monochromatic
#3C1356 #5F1F88 #822ABA #A04BD6 #BA7DE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##822ABA#FFFFFF#000000##FFFFFF
##822ABA1.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)
#0056BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#794E71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822aba;
/* rgb */ color: rgb(130, 42, 186);
/* oklch */ color: oklch(49.1% 0.212 308.0);
Tailwind
colors: {
  custom: {
    50: '#ac6ed0',
    500: '#822aba',
    950: '#000000',
  },
}
SCSS
$custom: #822aba;
$custom-light: #ac6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#822aba",
  "rgb": {
    "r": 130,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 276.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49052,
    "c": 0.21226,
    "h": 308
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#822ABA
secondary
#97CA76
accent
#E64282
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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