#822EB8#822EB8

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

Color values

HEX#822EB8
RGBrgb(130, 46, 184)
HSLhsl(277, 60%, 45%)
HSVhsv(277, 75%, 72%)
CMYKcmyk(29.3%, 75%, 0%, 27.8%)
CIE-LABlab(38.13, 58.18, -57.08)
CIE-LCHlch(38.13, 81.50, 315.55°)
OKLaboklab(49.27% 0.1275 -0.162)
OKLCHoklch(49.27% 0.206 308.2)
XYZxyz(18.8328, 10.1608, 46.3072)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EB8 #64B82E
analogous
#3D2EB8 #822EB8 #B82EA9
triadic
#822EB8 #B8822E #2EB882
tetradic
#822EB8 #B83D2E #64B82E #2EA9B8
square
#822EB8 #B83D2E #64B82E #2EA9B8
split-complementary
#822EB8 #A9B82E #2EB83D
monochromatic
#3D1656 #5F2287 #822EB8 #A050D3 #BA81DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##822EB8#FFFFFF#000000##FFFFFF
##822EB81.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)
#0057BC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#794F71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822eb8;
/* rgb */ color: rgb(130, 46, 184);
/* oklch */ color: oklch(49.3% 0.206 308.2);
Tailwind
colors: {
  custom: {
    50: '#ab6fce',
    500: '#822eb8',
    950: '#000000',
  },
}
SCSS
$custom: #822eb8;
$custom-light: #ab6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#822eb8",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 276.522,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49274,
    "c": 0.20619,
    "h": 308.2
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#822EB8
secondary
#98C879
accent
#E34583
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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