#7D20AC#7D20AC

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

Color values

HEX#7D20AC
RGBrgb(125, 32, 172)
HSLhsl(280, 69%, 40%)
HSVhsv(280, 81%, 67%)
CMYKcmyk(27.3%, 81.4%, 0%, 32.5%)
CIE-LABlab(34.75, 59.73, -55.48)
CIE-LCHlch(34.75, 81.52, 317.12°)
OKLaboklab(46.46% 0.1351 -0.1574)
OKLCHoklch(46.46% 0.207 310.6)
XYZxyz(16.4189, 8.3719, 39.7727)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D20AC #4FAC20
analogous
#3720AC #7D20AC #AC2095
triadic
#7D20AC #AC7D20 #20AC7D
tetradic
#7D20AC #AC3720 #4FAC20 #2095AC
square
#7D20AC #AC3720 #4FAC20 #2095AC
split-complementary
#7D20AC #95AC20 #20AC37
monochromatic
#320D45 #571678 #7D20AC #A031D9 #B864E2

Accessibility & contrast

On white

7.85
#7D20AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7D20AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D20AC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D20AC#FFFFFF#000000##FFFFFF
##7D20AC1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d20ac;
/* rgb */ color: rgb(125, 32, 172);
/* oklch */ color: oklch(46.5% 0.207 310.6);
Tailwind
colors: {
  custom: {
    50: '#a868c6',
    500: '#7d20ac',
    950: '#000000',
  },
}
SCSS
$custom: #7d20ac;
$custom-light: #a868c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d20ac",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 279.857,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.20742,
    "h": 310.6
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#7D20AC
secondary
#83C760
accent
#EB3C77
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D20AC

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

Preview Lab → · Contrast checker → · Palette generator →

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