#7D22A7#7D22A7

#7D22A7 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.2% C 0.201 H 312.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7D22A7
RGBrgb(125, 34, 167)
HSLhsl(281, 66%, 39%)
HSVhsv(281, 80%, 65%)
CMYKcmyk(25.1%, 79.6%, 0%, 34.5%)
CIE-LABlab(34.59, 58.04, -52.73)
CIE-LCHlch(34.59, 78.42, 317.74°)
OKLaboklab(46.23% 0.1347 -0.1494)
OKLCHoklch(46.23% 0.201 312)
XYZxyz(16.0032, 8.2945, 37.3097)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D22A7 #4CA722
analogous
#3B22A7 #7D22A7 #A7228E
triadic
#7D22A7 #A77D22 #22A77D
tetradic
#7D22A7 #A73B22 #4CA722 #228EA7
square
#7D22A7 #A73B22 #4CA722 #228EA7
split-complementary
#7D22A7 #8EA722 #22A73B
monochromatic
#310D41 #571874 #7D22A7 #A131D5 #B864DF

Accessibility & contrast

On white

7.90
#7D22A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7D22A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D22A7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D22A7#FFFFFF#000000##FFFFFF
##7D22A71.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0353A4
Tritanopia (blue-blind)
#784365
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d22a7;
/* rgb */ color: rgb(125, 34, 167);
/* oklch */ color: oklch(46.2% 0.201 312.0);
Tailwind
colors: {
  custom: {
    50: '#a769c2',
    500: '#7d22a7',
    950: '#000000',
  },
}
SCSS
$custom: #7d22a7;
$custom-light: #a769c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d22a7",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 281.053,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46232,
    "c": 0.2011,
    "h": 312
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#7D22A7
secondary
#80C560
accent
#E93F75
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D22A7

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

Preview Lab → · Contrast checker → · Palette generator →

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