#822FC2#822FC2

#822FC2 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.215 H 305.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#822FC2
RGBrgb(130, 47, 194)
HSLhsl(274, 61%, 47%)
HSVhsv(274, 76%, 76%)
CMYKcmyk(33%, 75.8%, 0%, 23.9%)
CIE-LABlab(39.03, 60.01, -61.50)
CIE-LCHlch(39.03, 85.92, 314.30°)
OKLaboklab(50.14% 0.1246 -0.175)
OKLCHoklch(50.14% 0.215 305.4)
XYZxyz(19.9579, 10.6740, 52.0374)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FC2 #6FC22F
analogous
#392FC2 #822FC2 #C22FB8
triadic
#822FC2 #C2822F #2FC282
tetradic
#822FC2 #C2392F #6FC22F #2FB8C2
square
#822FC2 #C2392F #6FC22F #2FB8C2
split-complementary
#822FC2 #B8C22F #2FC239
monochromatic
#40175F #612391 #822FC2 #9F58D6 #BB89E2

Accessibility & contrast

On white

6.70
#822FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #822FC2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FC2#FFFFFF#000000##FFFFFF
##822FC21.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822fc2;
/* rgb */ color: rgb(130, 47, 194);
/* oklch */ color: oklch(50.1% 0.215 305.4);
Tailwind
colors: {
  custom: {
    50: '#ac70d5',
    500: '#822fc2',
    950: '#000000',
  },
}
SCSS
$custom: #822fc2;
$custom-light: #ac70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#822fc2",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 273.878,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50143,
    "c": 0.21483,
    "h": 305.4
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#822FC2
secondary
#A2CC81
accent
#E4448A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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