#822EB3#822EB3

#822EB3 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.201 H 309.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#822EB3
RGBrgb(130, 46, 179)
HSLhsl(278, 59%, 44%)
HSVhsv(278, 74%, 70%)
CMYKcmyk(27.4%, 74.3%, 0%, 29.8%)
CIE-LABlab(37.76, 57.08, -54.72)
CIE-LCHlch(37.76, 79.07, 316.21°)
OKLaboklab(48.9% 0.1284 -0.1551)
OKLCHoklch(48.9% 0.201 309.6)
XYZxyz(18.3180, 9.9549, 43.5956)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EB3 #5FB32E
analogous
#402EB3 #822EB3 #B32EA2
triadic
#822EB3 #B3822E #2EB382
tetradic
#822EB3 #B3402E #5FB32E #2EA2B3
square
#822EB3 #B3402E #5FB32E #2EA2B3
split-complementary
#822EB3 #A2B32E #2EB340
monochromatic
#3B1552 #5F2182 #822EB3 #A14DD1 #BA7EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##822EB3#FFFFFF#000000##FFFFFF
##822EB31.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)
#0055B7
Deuteranopia (green-blind)
#095AB0
Tritanopia (blue-blind)
#7B4D6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822eb3;
/* rgb */ color: rgb(130, 46, 179);
/* oklch */ color: oklch(48.9% 0.201 309.6);
Tailwind
colors: {
  custom: {
    50: '#ab6fcb',
    500: '#822eb3',
    950: '#000000',
  },
}
SCSS
$custom: #822eb3;
$custom-light: #ab6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#822eb3",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 277.895,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48898,
    "c": 0.20137,
    "h": 309.6
  },
  "luminance": 0.09954
}

Semantic roles & 50–950 ramp

primary
#822EB3
secondary
#94C676
accent
#E2467F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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