#7A207A#7A207A

#7A207A is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.163 H 328.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7A207A
RGBrgb(122, 32, 122)
HSLhsl(300, 58%, 30%)
HSVhsv(300, 74%, 48%)
CMYKcmyk(0%, 73.8%, 0%, 52.2%)
CIE-LABlab(30.82, 49.39, -31.12)
CIE-LCHlch(30.82, 58.38, 327.79°)
OKLaboklab(42.5% 0.1378 -0.0862)
OKLCHoklch(42.5% 0.163 328)
XYZxyz(12.0552, 6.5766, 19.0430)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A207A #207A20
analogous
#4D207A #7A207A #7A204D
triadic
#7A207A #7A7A20 #207A7A
tetradic
#7A207A #7A4D20 #207A20 #204D7A
square
#7A207A #7A4D20 #207A20 #204D7A
split-complementary
#7A207A #4D7A20 #207A4D
monochromatic
#190719 #4A134A #7A207A #AA2DAA #CE46CE

Accessibility & contrast

On white

9.07
#7A207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A207A
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A207A#FFFFFF#000000##FFFFFF
##7A207A1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417C
Deuteranopia (green-blind)
#384D78
Tritanopia (blue-blind)
#7E2E4B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a207a;
/* rgb */ color: rgb(122, 32, 122);
/* oklch */ color: oklch(42.5% 0.163 328.0);
Tailwind
colors: {
  custom: {
    50: '#a465a1',
    500: '#7a207a',
    950: '#000000',
  },
}
SCSS
$custom: #7a207a;
$custom-light: #a465a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a207a",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 300,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42501,
    "c": 0.16252,
    "h": 328
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#7A207A
secondary
#49AD49
accent
#E24646
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7A207A

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

Preview Lab → · Contrast checker → · Palette generator →

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