#7F20AE#7F20AE

#7F20AE is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.9% C 0.210 H 310.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7F20AE
RGBrgb(127, 32, 174)
HSLhsl(280, 69%, 40%)
HSVhsv(280, 82%, 68%)
CMYKcmyk(27%, 81.6%, 0%, 31.8%)
CIE-LABlab(35.21, 60.49, -55.91)
CIE-LCHlch(35.21, 82.37, 317.25°)
OKLaboklab(46.89% 0.1373 -0.1586)
OKLCHoklch(46.89% 0.21 310.9)
XYZxyz(16.9074, 8.6015, 40.8058)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F20AE #4FAE20
analogous
#3820AE #7F20AE #AE2096
triadic
#7F20AE #AE7F20 #20AE7F
tetradic
#7F20AE #AE3820 #4FAE20 #2096AE
square
#7F20AE #AE3820 #4FAE20 #2096AE
split-complementary
#7F20AE #96AE20 #20AE38
monochromatic
#340D47 #59167A #7F20AE #A232D9 #B966E3

Accessibility & contrast

On white

7.72
#7F20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7F20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F20AE
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F20AE#FFFFFF#000000##FFFFFF
##7F20AE1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#794568
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7f20ae;
/* rgb */ color: rgb(127, 32, 174);
/* oklch */ color: oklch(46.9% 0.210 310.9);
Tailwind
colors: {
  custom: {
    50: '#a968c7',
    500: '#7f20ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f20ae;
$custom-light: #a968c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f20ae",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 280.141,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46893,
    "c": 0.20978,
    "h": 310.9
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#7F20AE
secondary
#84C862
accent
#EC3C76
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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