#7D22AC#7D22AC

#7D22AC is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.206 H 310.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7D22AC
RGBrgb(125, 34, 172)
HSLhsl(280, 67%, 40%)
HSVhsv(280, 80%, 67%)
CMYKcmyk(27.3%, 80.2%, 0%, 32.5%)
CIE-LABlab(34.97, 59.08, -55.11)
CIE-LCHlch(34.97, 80.80, 316.99°)
OKLaboklab(46.62% 0.1336 -0.1564)
OKLCHoklch(46.62% 0.206 310.5)
XYZxyz(16.4744, 8.4830, 39.7913)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D22AC #51AC22
analogous
#3822AC #7D22AC #AC2296
triadic
#7D22AC #AC7D22 #22AC7D
tetradic
#7D22AC #AC3822 #51AC22 #2296AC
square
#7D22AC #AC3822 #51AC22 #2296AC
split-complementary
#7D22AC #96AC22 #22AC38
monochromatic
#330E46 #581879 #7D22AC #A034D7 #B867E1

Accessibility & contrast

On white

7.79
#7D22AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D22AC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D22AC#FFFFFF#000000##FFFFFF
##7D22AC1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#764568
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d22ac;
/* rgb */ color: rgb(125, 34, 172);
/* oklch */ color: oklch(46.6% 0.206 310.5);
Tailwind
colors: {
  custom: {
    50: '#a869c6',
    500: '#7d22ac',
    950: '#000000',
  },
}
SCSS
$custom: #7d22ac;
$custom-light: #a869c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d22ac",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 279.565,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.20563,
    "h": 310.5
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#7D22AC
secondary
#85C763
accent
#EA3E78
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D22AC

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

Preview Lab → · Contrast checker → · Palette generator →

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