#822EB5#822EB5

#822EB5 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.203 H 309.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#822EB5
RGBrgb(130, 46, 181)
HSLhsl(277, 59%, 45%)
HSVhsv(277, 75%, 71%)
CMYKcmyk(28.2%, 74.6%, 0%, 29%)
CIE-LABlab(37.91, 57.52, -55.66)
CIE-LCHlch(37.91, 80.04, 315.94°)
OKLaboklab(49.05% 0.1281 -0.1579)
OKLCHoklch(49.05% 0.203 309)
XYZxyz(18.5217, 10.0364, 44.6686)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EB5 #61B52E
analogous
#3E2EB5 #822EB5 #B52EA5
triadic
#822EB5 #B5822E #2EB582
tetradic
#822EB5 #B53E2E #61B52E #2EA5B5
square
#822EB5 #B53E2E #61B52E #2EA5B5
split-complementary
#822EB5 #A5B52E #2EB53E
monochromatic
#3C1553 #5F2284 #822EB5 #A04ED2 #BA7FDE

Accessibility & contrast

On white

6.98
#822EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#822EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822EB5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EB5#FFFFFF#000000##FFFFFF
##822EB51.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#015AB2
Tritanopia (blue-blind)
#7A4E6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822eb5;
/* rgb */ color: rgb(130, 46, 181);
/* oklch */ color: oklch(49.0% 0.203 309.0);
Tailwind
colors: {
  custom: {
    50: '#ab6fcc',
    500: '#822eb5',
    950: '#000000',
  },
}
SCSS
$custom: #822eb5;
$custom-light: #ab6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#822eb5",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 277.333,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49047,
    "c": 0.2033,
    "h": 309
  },
  "luminance": 0.10036
}

Semantic roles & 50–950 ramp

primary
#822EB5
secondary
#96C778
accent
#E34581
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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