#7D22AA#7D22AA

#7D22AA is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.204 H 311.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7D22AA
RGBrgb(125, 34, 170)
HSLhsl(280, 67%, 40%)
HSVhsv(280, 80%, 67%)
CMYKcmyk(26.5%, 80%, 0%, 33.3%)
CIE-LABlab(34.82, 58.67, -54.16)
CIE-LCHlch(34.82, 79.85, 317.29°)
OKLaboklab(46.46% 0.134 -0.1536)
OKLCHoklch(46.46% 0.204 311.1)
XYZxyz(16.2838, 8.4067, 38.7873)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D22AA #4FAA22
analogous
#3922AA #7D22AA #AA2293
triadic
#7D22AA #AA7D22 #22AA7D
tetradic
#7D22AA #AA3922 #4FAA22 #2293AA
square
#7D22AA #AA3922 #4FAA22 #2293AA
split-complementary
#7D22AA #93AA22 #22AA39
monochromatic
#320E44 #571877 #7D22AA #A033D6 #B866E0

Accessibility & contrast

On white

7.83
#7D22AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D22AA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D22AA#FFFFFF#000000##FFFFFF
##7D22AA1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#774466
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d22aa;
/* rgb */ color: rgb(125, 34, 170);
/* oklch */ color: oklch(46.5% 0.204 311.1);
Tailwind
colors: {
  custom: {
    50: '#a869c4',
    500: '#7d22aa',
    950: '#000000',
  },
}
SCSS
$custom: #7d22aa;
$custom-light: #a869c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d22aa",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 280.147,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.46462,
    "c": 0.20381,
    "h": 311.1
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#7D22AA
secondary
#83C662
accent
#EA3E77
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D22AA

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

Preview Lab → · Contrast checker → · Palette generator →

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