#7D22AF#7D22AF

#7D22AF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.9% C 0.208 H 309.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7D22AF
RGBrgb(125, 34, 175)
HSLhsl(279, 67%, 41%)
HSVhsv(279, 81%, 69%)
CMYKcmyk(28.6%, 80.6%, 0%, 31.4%)
CIE-LABlab(35.20, 59.72, -56.53)
CIE-LCHlch(35.20, 82.23, 316.57°)
OKLaboklab(46.85% 0.1328 -0.1605)
OKLCHoklch(46.85% 0.208 309.6)
XYZxyz(16.7658, 8.5995, 41.3258)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D22AF #54AF22
analogous
#3622AF #7D22AF #AF229A
triadic
#7D22AF #AF7D22 #22AF7D
tetradic
#7D22AF #AF3622 #54AF22 #229AAF
square
#7D22AF #AF3622 #54AF22 #229AAF
split-complementary
#7D22AF #9AAF22 #22AF36
monochromatic
#340E49 #58187C #7D22AF #9F36D8 #B769E2

Accessibility & contrast

On white

7.72
#7D22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7D22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D22AF
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D22AF#FFFFFF#000000##FFFFFF
##7D22AF1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#764669
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d22af;
/* rgb */ color: rgb(125, 34, 175);
/* oklch */ color: oklch(46.9% 0.208 309.6);
Tailwind
colors: {
  custom: {
    50: '#a869c8',
    500: '#7d22af',
    950: '#000000',
  },
}
SCSS
$custom: #7d22af;
$custom-light: #a869c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d22af",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 278.723,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46853,
    "c": 0.20836,
    "h": 309.6
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#7D22AF
secondary
#88C865
accent
#EA3D7B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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