#7D20AD#7D20AD

#7D20AD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.208 H 310.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7D20AD
RGBrgb(125, 32, 173)
HSLhsl(280, 69%, 40%)
HSVhsv(280, 82%, 68%)
CMYKcmyk(27.7%, 81.5%, 0%, 32.2%)
CIE-LABlab(34.82, 59.94, -55.95)
CIE-LCHlch(34.82, 81.99, 316.97°)
OKLaboklab(46.54% 0.1348 -0.1588)
OKLCHoklch(46.54% 0.208 310.3)
XYZxyz(16.5153, 8.4105, 40.2804)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20AD #50AD20
analogous
#3620AD #7D20AD #AD2097
triadic
#7D20AD #AD7D20 #20AD7D
tetradic
#7D20AD #AD3620 #50AD20 #2097AD
square
#7D20AD #AD3620 #50AD20 #2097AD
split-complementary
#7D20AD #97AD20 #20AD36
monochromatic
#320D46 #581679 #7D20AD #A031D9 #B865E2

Accessibility & contrast

On white

7.83
#7D20AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7D20AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D20AD
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20AD#FFFFFF#000000##FFFFFF
##7D20AD1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d20ad;
/* rgb */ color: rgb(125, 32, 173);
/* oklch */ color: oklch(46.5% 0.208 310.3);
Tailwind
colors: {
  custom: {
    50: '#a868c6',
    500: '#7d20ad',
    950: '#000000',
  },
}
SCSS
$custom: #7d20ad;
$custom-light: #a868c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20ad",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 279.574,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4654,
    "c": 0.20832,
    "h": 310.3
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#7D20AD
secondary
#84C861
accent
#EC3C78
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D20AD

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

Preview Lab → · Contrast checker → · Palette generator →

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