#7822AF#7822AF

#7822AF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.207 H 307.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7822AF
RGBrgb(120, 34, 175)
HSLhsl(277, 67%, 41%)
HSVhsv(277, 81%, 69%)
CMYKcmyk(31.4%, 80.6%, 0%, 31.4%)
CIE-LABlab(34.46, 58.88, -57.76)
CIE-LCHlch(34.46, 82.48, 315.55°)
OKLaboklab(46.18% 0.126 -0.1643)
OKLCHoklch(46.18% 0.207 307.5)
XYZxyz(16.0540, 8.2325, 41.2924)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7822AF #59AF22
analogous
#3222AF #7822AF #AF229F
triadic
#7822AF #AF7822 #22AF78
tetradic
#7822AF #AF3222 #59AF22 #229FAF
square
#7822AF #AF3222 #59AF22 #229FAF
split-complementary
#7822AF #9FAF22 #22AF32
monochromatic
#320E49 #55187C #7822AF #9936D8 #B369E2

Accessibility & contrast

On white

7.94
#7822AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7822AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7822AF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7822AF#FFFFFF#000000##FFFFFF
##7822AF1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#6F4769
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7822af;
/* rgb */ color: rgb(120, 34, 175);
/* oklch */ color: oklch(46.2% 0.207 307.5);
Tailwind
colors: {
  custom: {
    50: '#a568c8',
    500: '#7822af',
    950: '#000000',
  },
}
SCSS
$custom: #7822af;
$custom-light: #a568c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7822af",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 276.596,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46184,
    "c": 0.20704,
    "h": 307.5
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#7822AF
secondary
#8CC865
accent
#EA3D81
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7822AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7822AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva