#822FC5#822FC5

#822FC5 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.218 H 304.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#822FC5
RGBrgb(130, 47, 197)
HSLhsl(273, 61%, 48%)
HSVhsv(273, 76%, 77%)
CMYKcmyk(34%, 76.1%, 0%, 22.7%)
CIE-LABlab(39.26, 60.68, -62.87)
CIE-LCHlch(39.26, 87.38, 313.99°)
OKLaboklab(50.38% 0.1239 -0.1791)
OKLCHoklch(50.38% 0.218 304.7)
XYZxyz(20.2982, 10.8102, 53.8297)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FC5 #72C52F
analogous
#372FC5 #822FC5 #C52FBD
triadic
#822FC5 #C5822F #2FC582
tetradic
#822FC5 #C5372F #72C52F #2FBDC5
square
#822FC5 #C5372F #72C52F #2FBDC5
split-complementary
#822FC5 #BDC52F #2FC537
monochromatic
#411762 #612394 #822FC5 #9F5AD8 #BC8BE3

Accessibility & contrast

On white

6.64
#822FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#822FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FC5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FC5#FFFFFF#000000##FFFFFF
##822FC51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#755579
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #822fc5;
/* rgb */ color: rgb(130, 47, 197);
/* oklch */ color: oklch(50.4% 0.218 304.7);
Tailwind
colors: {
  custom: {
    50: '#ac70d8',
    500: '#822fc5',
    950: '#000000',
  },
}
SCSS
$custom: #822fc5;
$custom-light: #ac70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#822fc5",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 273.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50379,
    "c": 0.21774,
    "h": 304.7
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#822FC5
secondary
#A4CD82
accent
#E5438B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #822FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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