#822FC1#822FC1

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

Color values

HEX#822FC1
RGBrgb(130, 47, 193)
HSLhsl(274, 61%, 47%)
HSVhsv(274, 76%, 76%)
CMYKcmyk(32.6%, 75.6%, 0%, 24.3%)
CIE-LABlab(38.95, 59.78, -61.04)
CIE-LCHlch(38.95, 85.43, 314.40°)
OKLaboklab(50.06% 0.1248 -0.1737)
OKLCHoklch(50.06% 0.214 305.7)
XYZxyz(19.8459, 10.6293, 51.4479)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FC1 #6EC12F
analogous
#392FC1 #822FC1 #C12FB7
triadic
#822FC1 #C1822F #2FC182
tetradic
#822FC1 #C1392F #6EC12F #2FB7C1
square
#822FC1 #C1392F #6EC12F #2FB7C1
split-complementary
#822FC1 #B7C12F #2FC139
monochromatic
#40175F #612390 #822FC1 #9F57D6 #BB88E2

Accessibility & contrast

On white

6.72
#822FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #822FC1
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FC1#FFFFFF#000000##FFFFFF
##822FC11.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#765476
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #822fc1;
/* rgb */ color: rgb(130, 47, 193);
/* oklch */ color: oklch(50.1% 0.214 305.7);
Tailwind
colors: {
  custom: {
    50: '#ac70d5',
    500: '#822fc1',
    950: '#000000',
  },
}
SCSS
$custom: #822fc1;
$custom-light: #ac70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#822fc1",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 274.11,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.21386,
    "h": 305.7
  },
  "luminance": 0.10629
}

Semantic roles & 50–950 ramp

primary
#822FC1
secondary
#A1CC80
accent
#E44489
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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