#7A22AF#7A22AF

#7A22AF is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.208 H 308.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7A22AF
RGBrgb(122, 34, 175)
HSLhsl(277, 67%, 41%)
HSVhsv(277, 81%, 69%)
CMYKcmyk(30.3%, 80.6%, 0%, 31.4%)
CIE-LABlab(34.76, 59.21, -57.27)
CIE-LCHlch(34.76, 82.38, 315.95°)
OKLaboklab(46.45% 0.1287 -0.1628)
OKLCHoklch(46.45% 0.208 308.3)
XYZxyz(16.3343, 8.3770, 41.3056)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A22AF #57AF22
analogous
#3422AF #7A22AF #AF229D
triadic
#7A22AF #AF7A22 #22AF7A
tetradic
#7A22AF #AF3422 #57AF22 #229DAF
square
#7A22AF #AF3422 #57AF22 #229DAF
split-complementary
#7A22AF #9DAF22 #22AF34
monochromatic
#330E49 #56187C #7A22AF #9B36D8 #B569E2

Accessibility & contrast

On white

7.85
#7A22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7A22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A22AF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A22AF#FFFFFF#000000##FFFFFF
##7A22AF1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#714769
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a22af;
/* rgb */ color: rgb(122, 34, 175);
/* oklch */ color: oklch(46.5% 0.208 308.3);
Tailwind
colors: {
  custom: {
    50: '#a669c8',
    500: '#7a22af',
    950: '#000000',
  },
}
SCSS
$custom: #7a22af;
$custom-light: #a669c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a22af",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 277.447,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4645,
    "c": 0.20755,
    "h": 308.3
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#7A22AF
secondary
#8AC865
accent
#EA3D7E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A22AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7A22AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva