#7A207E#7A207E

#7A207E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.166 H 326.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7A207E
RGBrgb(122, 32, 126)
HSLhsl(297, 59%, 31%)
HSVhsv(297, 75%, 49%)
CMYKcmyk(3.2%, 74.6%, 0%, 50.6%)
CIE-LABlab(31.06, 50.11, -33.26)
CIE-LCHlch(31.06, 60.14, 326.43°)
OKLaboklab(42.75% 0.1378 -0.0924)
OKLCHoklch(42.75% 0.166 326.2)
XYZxyz(12.3082, 6.6778, 20.3753)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A207E #247E20
analogous
#4B207E #7A207E #7E2053
triadic
#7A207E #7E7A20 #207E7A
tetradic
#7A207E #7E4B20 #247E20 #20537E
square
#7A207E #7E4B20 #247E20 #20537E
split-complementary
#7A207E #537E20 #207E4B
monochromatic
#1B071C #4B144D #7A207E #A92CAF #CB48D0

Accessibility & contrast

On white

8.99
#7A207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A207E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A207E#FFFFFF#000000##FFFFFF
##7A207E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074281
Deuteranopia (green-blind)
#364D7C
Tritanopia (blue-blind)
#7D2F4D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a207e;
/* rgb */ color: rgb(122, 32, 126);
/* oklch */ color: oklch(42.7% 0.166 326.2);
Tailwind
colors: {
  custom: {
    50: '#a465a4',
    500: '#7a207e',
    950: '#000000',
  },
}
SCSS
$custom: #7a207e;
$custom-light: #a465a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a207e",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 297.447,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.16587,
    "h": 326.2
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#7A207E
secondary
#4DB149
accent
#E3454C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A207E

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

Preview Lab → · Contrast checker → · Palette generator →

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