#822FB1#822FB1

#822FB1 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.198 H 310.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#822FB1
RGBrgb(130, 47, 177)
HSLhsl(278, 58%, 44%)
HSVhsv(278, 73%, 69%)
CMYKcmyk(26.6%, 73.4%, 0%, 30.6%)
CIE-LABlab(37.76, 56.24, -53.53)
CIE-LCHlch(37.76, 77.65, 316.41°)
OKLaboklab(48.85% 0.1278 -0.1516)
OKLCHoklch(48.85% 0.198 310.1)
XYZxyz(18.1567, 9.9536, 42.5512)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FB1 #5EB12F
analogous
#412FB1 #822FB1 #B12F9F
triadic
#822FB1 #B1822F #2FB182
tetradic
#822FB1 #B1412F #5EB12F #2F9FB1
square
#822FB1 #B1412F #5EB12F #2F9FB1
split-complementary
#822FB1 #9FB12F #2FB141
monochromatic
#3B1550 #5E2281 #822FB1 #A14DD0 #BA7EDD

Accessibility & contrast

On white

7.02
#822FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#822FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822FB1
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FB1#FFFFFF#000000##FFFFFF
##822FB11.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#125AAE
Tritanopia (blue-blind)
#7B4D6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822fb1;
/* rgb */ color: rgb(130, 47, 177);
/* oklch */ color: oklch(48.9% 0.198 310.1);
Tailwind
colors: {
  custom: {
    50: '#ab70c9',
    500: '#822fb1',
    950: '#000000',
  },
}
SCSS
$custom: #822fb1;
$custom-light: #ab70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#822fb1",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 278.308,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.19831,
    "h": 310.1
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#822FB1
secondary
#93C576
accent
#E1477E
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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