#7A208E#7A208E

#7A208E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.180 H 319.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7A208E
RGBrgb(122, 32, 142)
HSLhsl(289, 63%, 34%)
HSVhsv(289, 77%, 56%)
CMYKcmyk(14.1%, 77.5%, 0%, 44.3%)
CIE-LABlab(32.09, 53.11, -41.57)
CIE-LCHlch(32.09, 67.45, 321.95°)
OKLaboklab(43.81% 0.1367 -0.1167)
OKLCHoklch(43.81% 0.18 319.5)
XYZxyz(13.4244, 7.1243, 26.2539)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A208E #348E20
analogous
#43208E #7A208E #8E206B
triadic
#7A208E #8E7A20 #208E7A
tetradic
#7A208E #8E4320 #348E20 #206B8E
square
#7A208E #8E4320 #348E20 #206B8E
split-complementary
#7A208E #6B8E20 #208E43
monochromatic
#24092A #4F155C #7A208E #A52BC0 #BF51D8

Accessibility & contrast

On white

8.66
#7A208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7A208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A208E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A208E#FFFFFF#000000##FFFFFF
##7A208E1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#294E8C
Tritanopia (blue-blind)
#7A3756
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a208e;
/* rgb */ color: rgb(122, 32, 142);
/* oklch */ color: oklch(43.8% 0.180 319.5);
Tailwind
colors: {
  custom: {
    50: '#a466b0',
    500: '#7a208e',
    950: '#000000',
  },
}
SCSS
$custom: #7a208e;
$custom-light: #a466b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a208e",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 289.091,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43808,
    "c": 0.1797,
    "h": 319.5
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#7A208E
secondary
#63BB4F
accent
#E6425F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A208E

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

Preview Lab → · Contrast checker → · Palette generator →

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