#822FBA#822FBA

#822FBA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.207 H 307.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#822FBA
RGBrgb(130, 47, 186)
HSLhsl(276, 60%, 46%)
HSVhsv(276, 75%, 73%)
CMYKcmyk(30.1%, 74.7%, 0%, 27.1%)
CIE-LABlab(38.42, 58.22, -57.79)
CIE-LCHlch(38.42, 82.03, 315.21°)
OKLaboklab(49.52% 0.1262 -0.1641)
OKLCHoklch(49.52% 0.207 307.6)
XYZxyz(19.0835, 10.3243, 47.4323)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FBA #67BA2F
analogous
#3C2FBA #822FBA #BA2FAD
triadic
#822FBA #BA822F #2FBA82
tetradic
#822FBA #BA3C2F #67BA2F #2FADBA
square
#822FBA #BA3C2F #67BA2F #2FADBA
split-complementary
#822FBA #ADBA2F #2FBA3C
monochromatic
#3E1658 #602389 #822FBA #A053D3 #BB84E0

Accessibility & contrast

On white

6.85
#822FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#822FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FBA
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FBA#FFFFFF#000000##FFFFFF
##822FBA1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#795173
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822fba;
/* rgb */ color: rgb(130, 47, 186);
/* oklch */ color: oklch(49.5% 0.207 307.6);
Tailwind
colors: {
  custom: {
    50: '#ab70d0',
    500: '#822fba',
    950: '#000000',
  },
}
SCSS
$custom: #822fba;
$custom-light: #ab70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#822fba",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 275.827,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.20705,
    "h": 307.6
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

primary
#822FBA
secondary
#9BC97C
accent
#E34585
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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