#7D20AE#7D20AE

#7D20AE is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.209 H 310.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7D20AE
RGBrgb(125, 32, 174)
HSLhsl(279, 69%, 40%)
HSVhsv(279, 82%, 68%)
CMYKcmyk(28.2%, 81.6%, 0%, 31.8%)
CIE-LABlab(34.90, 60.15, -56.42)
CIE-LCHlch(34.90, 82.47, 316.83°)
OKLaboklab(46.62% 0.1346 -0.1602)
OKLCHoklch(46.62% 0.209 310)
XYZxyz(16.6124, 8.4494, 40.7920)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20AE #51AE20
analogous
#3620AE #7D20AE #AE2098
triadic
#7D20AE #AE7D20 #20AE7D
tetradic
#7D20AE #AE3620 #51AE20 #2098AE
square
#7D20AE #AE3620 #51AE20 #2098AE
split-complementary
#7D20AE #98AE20 #20AE36
monochromatic
#330D47 #58167A #7D20AE #A032D9 #B866E3

Accessibility & contrast

On white

7.81
#7D20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7D20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D20AE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20AE#FFFFFF#000000##FFFFFF
##7D20AE1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#764568
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d20ae;
/* rgb */ color: rgb(125, 32, 174);
/* oklch */ color: oklch(46.6% 0.209 310.0);
Tailwind
colors: {
  custom: {
    50: '#a868c7',
    500: '#7d20ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d20ae;
$custom-light: #a868c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20ae",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 279.296,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46619,
    "c": 0.20922,
    "h": 310
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#7D20AE
secondary
#85C862
accent
#EC3C79
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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