#7A208A#7A208A

#7A208A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.176 H 321.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7A208A
RGBrgb(122, 32, 138)
HSLhsl(291, 62%, 33%)
HSVhsv(291, 77%, 54%)
CMYKcmyk(11.6%, 76.8%, 0%, 45.9%)
CIE-LABlab(31.82, 52.34, -39.53)
CIE-LCHlch(31.82, 65.59, 322.94°)
OKLaboklab(43.53% 0.1371 -0.1107)
OKLCHoklch(43.53% 0.176 321.1)
XYZxyz(13.1295, 7.0063, 24.7006)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A208A #308A20
analogous
#45208A #7A208A #8A2065
triadic
#7A208A #8A7A20 #208A7A
tetradic
#7A208A #8A4520 #308A20 #20658A
square
#7A208A #8A4520 #308A20 #20658A
split-complementary
#7A208A #658A20 #208A45
monochromatic
#220927 #4E1458 #7A208A #A62CBC #C24ED6

Accessibility & contrast

On white

8.75
#7A208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7A208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A208A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A208A#FFFFFF#000000##FFFFFF
##7A208A1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#7B3554
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a208a;
/* rgb */ color: rgb(122, 32, 138);
/* oklch */ color: oklch(43.5% 0.176 321.1);
Tailwind
colors: {
  custom: {
    50: '#a466ad',
    500: '#7a208a',
    950: '#000000',
  },
}
SCSS
$custom: #7a208a;
$custom-light: #a466ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7a208a",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 290.943,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43534,
    "c": 0.1762,
    "h": 321.1
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#7A208A
secondary
#5DB94D
accent
#E5425B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A208A

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

Preview Lab → · Contrast checker → · Palette generator →

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