#822FB8#822FB8

#822FB8 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.205 H 308.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#822FB8
RGBrgb(130, 47, 184)
HSLhsl(276, 59%, 45%)
HSVhsv(276, 74%, 72%)
CMYKcmyk(29.3%, 74.5%, 0%, 27.8%)
CIE-LABlab(38.27, 57.78, -56.85)
CIE-LCHlch(38.27, 81.06, 315.46°)
OKLaboklab(49.37% 0.1266 -0.1614)
OKLCHoklch(49.37% 0.205 308.1)
XYZxyz(18.8724, 10.2398, 46.3204)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FB8 #65B82F
analogous
#3D2FB8 #822FB8 #B82FAA
triadic
#822FB8 #B8822F #2FB882
tetradic
#822FB8 #B83D2F #65B82F #2FAAB8
square
#822FB8 #B83D2F #65B82F #2FAAB8
split-complementary
#822FB8 #AAB82F #2FB83D
monochromatic
#3D1657 #602387 #822FB8 #A052D3 #BB82DF

Accessibility & contrast

On white

6.89
#822FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#822FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FB8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FB8#FFFFFF#000000##FFFFFF
##822FB81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#795071
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822fb8;
/* rgb */ color: rgb(130, 47, 184);
/* oklch */ color: oklch(49.4% 0.205 308.1);
Tailwind
colors: {
  custom: {
    50: '#ab70ce',
    500: '#822fb8',
    950: '#000000',
  },
}
SCSS
$custom: #822fb8;
$custom-light: #ab70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#822fb8",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 276.35,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.2051,
    "h": 308.1
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#822FB8
secondary
#99C87B
accent
#E24583
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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