#822EC3#822EC3

#822EC3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.1% C 0.217 H 305.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#822EC3
RGBrgb(130, 46, 195)
HSLhsl(274, 62%, 47%)
HSVhsv(274, 76%, 76%)
CMYKcmyk(33.3%, 76.4%, 0%, 23.5%)
CIE-LABlab(38.97, 60.62, -62.18)
CIE-LCHlch(38.97, 86.84, 314.27°)
OKLaboklab(50.13% 0.1252 -0.177)
OKLCHoklch(50.13% 0.217 305.3)
XYZxyz(20.0310, 10.6401, 52.6176)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EC3 #6FC32E
analogous
#382EC3 #822EC3 #C32EB9
triadic
#822EC3 #C3822E #2EC382
tetradic
#822EC3 #C3382E #6FC32E #2EB9C3
square
#822EC3 #C3382E #6FC32E #2EB9C3
split-complementary
#822EC3 #B9C32E #2EC338
monochromatic
#401760 #612291 #822EC3 #9F57D7 #BB88E3

Accessibility & contrast

On white

6.71
#822EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#822EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822EC3
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EC3#FFFFFF#000000##FFFFFF
##822EC31.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#765477
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #822ec3;
/* rgb */ color: rgb(130, 46, 195);
/* oklch */ color: oklch(50.1% 0.217 305.3);
Tailwind
colors: {
  custom: {
    50: '#ac70d6',
    500: '#822ec3',
    950: '#000000',
  },
}
SCSS
$custom: #822ec3;
$custom-light: #ac70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#822ec3",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 273.826,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50126,
    "c": 0.21683,
    "h": 305.3
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#822EC3
secondary
#A2CD80
accent
#E5438A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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