#7A208F#7A208F

#7A208F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.181 H 319.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7A208F
RGBrgb(122, 32, 143)
HSLhsl(289, 63%, 34%)
HSVhsv(289, 78%, 56%)
CMYKcmyk(14.7%, 77.6%, 0%, 43.9%)
CIE-LABlab(32.16, 53.31, -42.08)
CIE-LCHlch(32.16, 67.91, 321.71°)
OKLaboklab(43.88% 0.1365 -0.1182)
OKLCHoklch(43.88% 0.181 319.1)
XYZxyz(13.4998, 7.1544, 26.6511)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A208F #358F20
analogous
#43208F #7A208F #8F206D
triadic
#7A208F #8F7A20 #208F7A
tetradic
#7A208F #8F4320 #358F20 #206D8F
square
#7A208F #8F4320 #358F20 #206D8F
split-complementary
#7A208F #6D8F20 #208F43
monochromatic
#250A2B #4F155D #7A208F #A52BC1 #BF51D8

Accessibility & contrast

On white

8.64
#7A208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7A208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A208F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A208F#FFFFFF#000000##FFFFFF
##7A208F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#7A3757
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a208f;
/* rgb */ color: rgb(122, 32, 143);
/* oklch */ color: oklch(43.9% 0.181 319.1);
Tailwind
colors: {
  custom: {
    50: '#a466b0',
    500: '#7a208f',
    950: '#000000',
  },
}
SCSS
$custom: #7a208f;
$custom-light: #a466b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a208f",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 288.649,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43878,
    "c": 0.18058,
    "h": 319.1
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#7A208F
secondary
#64BB4F
accent
#E64161
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A208F

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

Preview Lab → · Contrast checker → · Palette generator →

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