#7A208D#7A208D

#7A208D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.179 H 319.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7A208D
RGBrgb(122, 32, 141)
HSLhsl(290, 63%, 34%)
HSVhsv(290, 77%, 55%)
CMYKcmyk(13.5%, 77.3%, 0%, 44.7%)
CIE-LABlab(32.02, 52.92, -41.06)
CIE-LCHlch(32.02, 66.98, 322.19°)
OKLaboklab(43.74% 0.1368 -0.1152)
OKLCHoklch(43.74% 0.179 319.9)
XYZxyz(13.3497, 7.0944, 25.8603)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A208D #338D20
analogous
#44208D #7A208D #8D206A
triadic
#7A208D #8D7A20 #208D7A
tetradic
#7A208D #8D4420 #338D20 #206A8D
square
#7A208D #8D4420 #338D20 #206A8D
split-complementary
#7A208D #6A8D20 #208D44
monochromatic
#240929 #4F155B #7A208D #A52BBF #C050D7

Accessibility & contrast

On white

8.68
#7A208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A208D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A208D#FFFFFF#000000##FFFFFF
##7A208D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#2A4E8B
Tritanopia (blue-blind)
#7A3655
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a208d;
/* rgb */ color: rgb(122, 32, 141);
/* oklch */ color: oklch(43.7% 0.179 319.9);
Tailwind
colors: {
  custom: {
    50: '#a466af',
    500: '#7a208d',
    950: '#000000',
  },
}
SCSS
$custom: #7a208d;
$custom-light: #a466af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a208d",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 289.541,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43739,
    "c": 0.17882,
    "h": 319.9
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#7A208D
secondary
#61BA4E
accent
#E6425E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A208D

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

Preview Lab → · Contrast checker → · Palette generator →

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