#822BC5#822BC5

#822BC5 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.0% C 0.222 H 305.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#822BC5
RGBrgb(130, 43, 197)
HSLhsl(274, 64%, 47%)
HSVhsv(274, 78%, 77%)
CMYKcmyk(34%, 78.2%, 0%, 22.7%)
CIE-LABlab(38.73, 62.19, -63.72)
CIE-LCHlch(38.73, 89.04, 314.30°)
OKLaboklab(50.01% 0.1272 -0.1816)
OKLCHoklch(50.01% 0.222 305)
XYZxyz(20.1456, 10.5049, 53.7788)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BC5 #6EC52B
analogous
#352BC5 #822BC5 #C52BBB
triadic
#822BC5 #C5822B #2BC582
tetradic
#822BC5 #C5352B #6EC52B #2BBBC5
square
#822BC5 #C5352B #6EC52B #2BBBC5
split-complementary
#822BC5 #BBC52B #2BC535
monochromatic
#401561 #612093 #822BC5 #9F54DA #BB86E5

Accessibility & contrast

On white

6.77
#822BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#822BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822BC5
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BC5#FFFFFF#000000##FFFFFF
##822BC51.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#755378
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #822bc5;
/* rgb */ color: rgb(130, 43, 197);
/* oklch */ color: oklch(50.0% 0.222 305.0);
Tailwind
colors: {
  custom: {
    50: '#ac6fd8',
    500: '#822bc5',
    950: '#000000',
  },
}
SCSS
$custom: #822bc5;
$custom-light: #ac6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#822bc5",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 197
  },
  "hsl": {
    "h": 273.896,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.22168,
    "h": 305
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#822BC5
secondary
#A1CE7E
accent
#E74189
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #822BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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