#822BB5#822BB5

#822BB5 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.207 H 309.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#822BB5
RGBrgb(130, 43, 181)
HSLhsl(278, 62%, 44%)
HSVhsv(278, 76%, 71%)
CMYKcmyk(28.2%, 76.2%, 0%, 29%)
CIE-LABlab(37.50, 58.69, -56.33)
CIE-LCHlch(37.50, 81.34, 316.18°)
OKLaboklab(48.76% 0.1308 -0.1598)
OKLCHoklch(48.76% 0.207 309.3)
XYZxyz(18.4086, 9.8101, 44.6309)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BB5 #5EB52B
analogous
#3D2BB5 #822BB5 #B52BA3
triadic
#822BB5 #B5822B #2BB582
tetradic
#822BB5 #B53D2B #5EB52B #2BA3B5
square
#822BB5 #B53D2B #5EB52B #2BA3B5
split-complementary
#822BB5 #A3B52B #2BB53D
monochromatic
#3B1452 #5E1F84 #822BB5 #A149D4 #BA7BE0

Accessibility & contrast

On white

7.09
#822BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#822BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BB5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BB5#FFFFFF#000000##FFFFFF
##822BB51.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#7A4C6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822bb5;
/* rgb */ color: rgb(130, 43, 181);
/* oklch */ color: oklch(48.8% 0.207 309.3);
Tailwind
colors: {
  custom: {
    50: '#ab6ecc',
    500: '#822bb5',
    950: '#000000',
  },
}
SCSS
$custom: #822bb5;
$custom-light: #ab6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#822bb5",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 277.826,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48759,
    "c": 0.20653,
    "h": 309.3
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#822BB5
secondary
#93C874
accent
#E5437F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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