#7D22AD#7D22AD

#7D22AD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.207 H 310.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7D22AD
RGBrgb(125, 34, 173)
HSLhsl(279, 67%, 41%)
HSVhsv(279, 80%, 68%)
CMYKcmyk(27.7%, 80.3%, 0%, 32.2%)
CIE-LABlab(35.05, 59.30, -55.58)
CIE-LCHlch(35.05, 81.27, 316.85°)
OKLaboklab(46.7% 0.1333 -0.1577)
OKLCHoklch(46.7% 0.207 310.2)
XYZxyz(16.5708, 8.5215, 40.2989)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D22AD #52AD22
analogous
#3822AD #7D22AD #AD2297
triadic
#7D22AD #AD7D22 #22AD7D
tetradic
#7D22AD #AD3822 #52AD22 #2297AD
square
#7D22AD #AD3822 #52AD22 #2297AD
split-complementary
#7D22AD #97AD22 #22AD38
monochromatic
#330E47 #58187A #7D22AD #9F35D7 #B768E1

Accessibility & contrast

On white

7.77
#7D22AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7D22AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D22AD
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D22AD#FFFFFF#000000##FFFFFF
##7D22AD1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#764668
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d22ad;
/* rgb */ color: rgb(125, 34, 173);
/* oklch */ color: oklch(46.7% 0.207 310.2);
Tailwind
colors: {
  custom: {
    50: '#a869c6',
    500: '#7d22ad',
    950: '#000000',
  },
}
SCSS
$custom: #7d22ad;
$custom-light: #a869c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d22ad",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 279.281,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46696,
    "c": 0.20653,
    "h": 310.2
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#7D22AD
secondary
#86C764
accent
#EA3E79
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D22AD

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

Preview Lab → · Contrast checker → · Palette generator →

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