#7D22AE#7D22AE

#7D22AE is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.207 H 309.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7D22AE
RGBrgb(125, 34, 174)
HSLhsl(279, 67%, 41%)
HSVhsv(279, 80%, 68%)
CMYKcmyk(28.2%, 80.5%, 0%, 31.8%)
CIE-LABlab(35.12, 59.51, -56.06)
CIE-LCHlch(35.12, 81.75, 316.71°)
OKLaboklab(46.77% 0.1331 -0.1591)
OKLCHoklch(46.77% 0.207 309.9)
XYZxyz(16.6679, 8.5604, 40.8105)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D22AE #53AE22
analogous
#3722AE #7D22AE #AE2299
triadic
#7D22AE #AE7D22 #22AE7D
tetradic
#7D22AE #AE3722 #53AE22 #2299AE
square
#7D22AE #AE3722 #53AE22 #2299AE
split-complementary
#7D22AE #99AE22 #22AE37
monochromatic
#330E48 #58187B #7D22AE #9F36D8 #B769E2

Accessibility & contrast

On white

7.74
#7D22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7D22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D22AE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D22AE#FFFFFF#000000##FFFFFF
##7D22AE1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d22ae;
/* rgb */ color: rgb(125, 34, 174);
/* oklch */ color: oklch(46.8% 0.207 309.9);
Tailwind
colors: {
  custom: {
    50: '#a869c7',
    500: '#7d22ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d22ae;
$custom-light: #a869c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d22ae",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 279,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.20744,
    "h": 309.9
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#7D22AE
secondary
#87C764
accent
#EA3E7A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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