#7A209A#7A209A

#7A209A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.190 H 315.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7A209A
RGBrgb(122, 32, 154)
HSLhsl(284, 66%, 36%)
HSVhsv(284, 79%, 60%)
CMYKcmyk(20.8%, 79.2%, 0%, 39.6%)
CIE-LABlab(32.93, 55.49, -47.58)
CIE-LCHlch(32.93, 73.10, 319.39°)
OKLaboklab(44.67% 0.1349 -0.1343)
OKLCHoklch(44.67% 0.19 315.1)
XYZxyz(14.3743, 7.5042, 31.2569)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A209A #409A20
analogous
#3D209A #7A209A #9A207D
triadic
#7A209A #9A7A20 #209A7A
tetradic
#7A209A #9A3D20 #409A20 #207D9A
square
#7A209A #9A3D20 #409A20 #207D9A
split-complementary
#7A209A #7D9A20 #209A3D
monochromatic
#2A0B35 #521567 #7A209A #A22BCD #BA58DC

Accessibility & contrast

On white

8.40
#7A209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7A209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A209A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A209A#FFFFFF#000000##FFFFFF
##7A209A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#1A5097
Tritanopia (blue-blind)
#773C5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a209a;
/* rgb */ color: rgb(122, 32, 154);
/* oklch */ color: oklch(44.7% 0.190 315.1);
Tailwind
colors: {
  custom: {
    50: '#a567b8',
    500: '#7a209a',
    950: '#000000',
  },
}
SCSS
$custom: #7a209a;
$custom-light: #a567b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a209a",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 284.262,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44668,
    "c": 0.19036,
    "h": 315.1
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#7A209A
secondary
#72C056
accent
#E93F6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A209A

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

Preview Lab → · Contrast checker → · Palette generator →

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