#822FB7#822FB7

#822FB7 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.204 H 308.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#822FB7
RGBrgb(130, 47, 183)
HSLhsl(277, 59%, 45%)
HSVhsv(277, 74%, 72%)
CMYKcmyk(29%, 74.3%, 0%, 28.2%)
CIE-LABlab(38.20, 57.56, -56.38)
CIE-LCHlch(38.20, 80.57, 315.59°)
OKLaboklab(49.3% 0.1268 -0.16)
OKLCHoklch(49.3% 0.204 308.4)
XYZxyz(18.7679, 10.1981, 45.7703)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FB7 #64B72F
analogous
#3E2FB7 #822FB7 #B72FA8
triadic
#822FB7 #B7822F #2FB782
tetradic
#822FB7 #B73E2F #64B72F #2FA8B7
square
#822FB7 #B73E2F #64B72F #2FA8B7
split-complementary
#822FB7 #A8B72F #2FB73E
monochromatic
#3D1656 #5F2286 #822FB7 #A051D2 #BA82DF

Accessibility & contrast

On white

6.91
#822FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#822FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FB7
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FB7#FFFFFF#000000##FFFFFF
##822FB71.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#7A4F71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822fb7;
/* rgb */ color: rgb(130, 47, 183);
/* oklch */ color: oklch(49.3% 0.204 308.4);
Tailwind
colors: {
  custom: {
    50: '#ab70cd',
    500: '#822fb7',
    950: '#000000',
  },
}
SCSS
$custom: #822fb7;
$custom-light: #ab70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#822fb7",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 276.618,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49297,
    "c": 0.20413,
    "h": 308.4
  },
  "luminance": 0.10198
}

Semantic roles & 50–950 ramp

primary
#822FB7
secondary
#98C87A
accent
#E24583
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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