#822FB6#822FB6

#822FB6 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.203 H 308.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#822FB6
RGBrgb(130, 47, 182)
HSLhsl(277, 59%, 45%)
HSVhsv(277, 74%, 71%)
CMYKcmyk(28.6%, 74.2%, 0%, 28.6%)
CIE-LABlab(38.12, 57.34, -55.91)
CIE-LCHlch(38.12, 80.08, 315.72°)
OKLaboklab(49.22% 0.127 -0.1586)
OKLCHoklch(49.22% 0.203 308.7)
XYZxyz(18.6642, 10.1566, 45.2241)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FB6 #63B62F
analogous
#3F2FB6 #822FB6 #B62FA6
triadic
#822FB6 #B6822F #2FB682
tetradic
#822FB6 #B63F2F #63B62F #2FA6B6
square
#822FB6 #B63F2F #63B62F #2FA6B6
split-complementary
#822FB6 #A6B62F #2FB63F
monochromatic
#3D1655 #5F2285 #822FB6 #A050D2 #BA81DE

Accessibility & contrast

On white

6.93
#822FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#822FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FB6
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FB6#FFFFFF#000000##FFFFFF
##822FB61.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#005BB3
Tritanopia (blue-blind)
#7A4F70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822fb6;
/* rgb */ color: rgb(130, 47, 182);
/* oklch */ color: oklch(49.2% 0.203 308.7);
Tailwind
colors: {
  custom: {
    50: '#ab70cd',
    500: '#822fb6',
    950: '#000000',
  },
}
SCSS
$custom: #822fb6;
$custom-light: #ab70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#822fb6",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 276.889,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49222,
    "c": 0.20316,
    "h": 308.7
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

primary
#822FB6
secondary
#97C779
accent
#E24682
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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