#822FC9#822FC9

#822FC9 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.222 H 303.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#822FC9
RGBrgb(130, 47, 201)
HSLhsl(272, 62%, 49%)
HSVhsv(272, 77%, 79%)
CMYKcmyk(35.3%, 76.6%, 0%, 21.2%)
CIE-LABlab(39.57, 61.59, -64.69)
CIE-LCHlch(39.57, 89.32, 313.59°)
OKLaboklab(50.7% 0.1229 -0.1844)
OKLCHoklch(50.7% 0.222 303.7)
XYZxyz(20.7626, 10.9959, 56.2756)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FC9 #76C92F
analogous
#352FC9 #822FC9 #C92FC3
triadic
#822FC9 #C9822F #2FC982
tetradic
#822FC9 #C9352F #76C92F #2FC3C9
square
#822FC9 #C9352F #76C92F #2FC3C9
split-complementary
#822FC9 #C3C92F #2FC935
monochromatic
#421866 #622397 #822FC9 #9F5CD9 #BD8EE5

Accessibility & contrast

On white

6.56
#822FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#822FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FC9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FC9#FFFFFF#000000##FFFFFF
##822FC91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#74577B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #822fc9;
/* rgb */ color: rgb(130, 47, 201);
/* oklch */ color: oklch(50.7% 0.222 303.7);
Tailwind
colors: {
  custom: {
    50: '#ad71da',
    500: '#822fc9',
    950: '#000000',
  },
}
SCSS
$custom: #822fc9;
$custom-light: #ad71da;
$custom-dark: #000000;
JSON
{
  "hex": "#822fc9",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 272.338,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.22163,
    "h": 303.7
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#822FC9
secondary
#A7CF85
accent
#E5438E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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