#822FC4#822FC4

#822FC4 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.217 H 304.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#822FC4
RGBrgb(130, 47, 196)
HSLhsl(273, 61%, 48%)
HSVhsv(273, 76%, 77%)
CMYKcmyk(33.7%, 76%, 0%, 23.1%)
CIE-LABlab(39.18, 60.46, -62.41)
CIE-LCHlch(39.18, 86.89, 314.09°)
OKLaboklab(50.3% 0.1241 -0.1777)
OKLCHoklch(50.3% 0.217 304.9)
XYZxyz(20.1840, 10.7645, 53.2283)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FC4 #71C42F
analogous
#382FC4 #822FC4 #C42FBB
triadic
#822FC4 #C4822F #2FC482
tetradic
#822FC4 #C4382F #71C42F #2FBBC4
square
#822FC4 #C4382F #71C42F #2FBBC4
split-complementary
#822FC4 #BBC42F #2FC438
monochromatic
#411761 #612393 #822FC4 #9F59D7 #BC8AE3

Accessibility & contrast

On white

6.66
#822FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#822FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FC4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FC4#FFFFFF#000000##FFFFFF
##822FC41.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#755578
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #822fc4;
/* rgb */ color: rgb(130, 47, 196);
/* oklch */ color: oklch(50.3% 0.217 304.9);
Tailwind
colors: {
  custom: {
    50: '#ac70d7',
    500: '#822fc4',
    950: '#000000',
  },
}
SCSS
$custom: #822fc4;
$custom-light: #ac70d7;
$custom-dark: #000000;
JSON
{
  "hex": "#822fc4",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 273.423,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.503,
    "c": 0.21677,
    "h": 304.9
  },
  "luminance": 0.10764
}

Semantic roles & 50–950 ramp

primary
#822FC4
secondary
#A3CD82
accent
#E4438B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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