#7D22A0#7D22A0

#7D22A0 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.195 H 314.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7D22A0
RGBrgb(125, 34, 160)
HSLhsl(283, 65%, 38%)
HSVhsv(283, 79%, 63%)
CMYKcmyk(21.9%, 78.8%, 0%, 37.3%)
CIE-LABlab(34.07, 56.60, -49.35)
CIE-LCHlch(34.07, 75.09, 318.92°)
OKLaboklab(45.71% 0.136 -0.1394)
OKLCHoklch(45.71% 0.195 314.3)
XYZxyz(15.3736, 8.0426, 33.9934)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D22A0 #45A022
analogous
#3E22A0 #7D22A0 #A02284
triadic
#7D22A0 #A07D22 #22A07D
tetradic
#7D22A0 #A03E22 #45A022 #2284A0
square
#7D22A0 #A03E22 #45A022 #2284A0
split-complementary
#7D22A0 #84A022 #22A03E
monochromatic
#2E0D3B #56176E #7D22A0 #A42DD2 #BA5FDD

Accessibility & contrast

On white

8.05
#7D22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D22A0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D22A0#FFFFFF#000000##FFFFFF
##7D22A01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#18529D
Tritanopia (blue-blind)
#7A4061
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d22a0;
/* rgb */ color: rgb(125, 34, 160);
/* oklch */ color: oklch(45.7% 0.195 314.3);
Tailwind
colors: {
  custom: {
    50: '#a768bd',
    500: '#7d22a0',
    950: '#000000',
  },
}
SCSS
$custom: #7d22a0;
$custom-light: #a768bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d22a0",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 283.333,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45705,
    "c": 0.19479,
    "h": 314.3
  },
  "luminance": 0.08042
}

Semantic roles & 50–950 ramp

primary
#7D22A0
secondary
#78C25C
accent
#E8406F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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