#822FB3#822FB3

#822FB3 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.200 H 309.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#822FB3
RGBrgb(130, 47, 179)
HSLhsl(278, 58%, 44%)
HSVhsv(278, 74%, 70%)
CMYKcmyk(27.4%, 73.7%, 0%, 29.8%)
CIE-LABlab(37.90, 56.68, -54.49)
CIE-LCHlch(37.90, 78.62, 316.13°)
OKLaboklab(49% 0.1275 -0.1544)
OKLCHoklch(49% 0.2 309.5)
XYZxyz(18.3575, 10.0339, 43.6088)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FB3 #60B32F
analogous
#402FB3 #822FB3 #B32FA2
triadic
#822FB3 #B3822F #2FB382
tetradic
#822FB3 #B3402F #60B32F #2FA2B3
square
#822FB3 #B3402F #60B32F #2FA2B3
split-complementary
#822FB3 #A2B32F #2FB340
monochromatic
#3C1652 #5F2283 #822FB3 #A04FD1 #BA7FDD

Accessibility & contrast

On white

6.98
#822FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#822FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FB3
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FB3#FFFFFF#000000##FFFFFF
##822FB31.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0C5AB0
Tritanopia (blue-blind)
#7B4E6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822fb3;
/* rgb */ color: rgb(130, 47, 179);
/* oklch */ color: oklch(49.0% 0.200 309.5);
Tailwind
colors: {
  custom: {
    50: '#ab70cb',
    500: '#822fb3',
    950: '#000000',
  },
}
SCSS
$custom: #822fb3;
$custom-light: #ab70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#822fb3",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 277.727,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48998,
    "c": 0.20025,
    "h": 309.5
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#822FB3
secondary
#95C678
accent
#E24680
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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