#7A1980#7A1980

#7A1980 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.175 H 325.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7A1980
RGBrgb(122, 25, 128)
HSLhsl(297, 67%, 30%)
HSVhsv(297, 80%, 50%)
CMYKcmyk(4.7%, 80.5%, 0%, 49.8%)
CIE-LABlab(30.38, 52.78, -35.60)
CIE-LCHlch(30.38, 63.66, 326.00°)
OKLaboklab(42.3% 0.1441 -0.0992)
OKLCHoklch(42.3% 0.175 325.5)
XYZxyz(12.2697, 6.3922, 21.0055)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1980 #1F8019
analogous
#471980 #7A1980 #801952
triadic
#7A1980 #807A19 #19807A
tetradic
#7A1980 #804719 #1F8019 #195280
square
#7A1980 #804719 #1F8019 #195280
split-complementary
#7A1980 #528019 #198047
monochromatic
#18051A #490F4D #7A1980 #AB23B3 #CF3BD9

Accessibility & contrast

On white

9.22
#7A1980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7A1980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1980
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1980#FFFFFF#000000##FFFFFF
##7A19801.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#314B7E
Tritanopia (blue-blind)
#7D2C4D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a1980;
/* rgb */ color: rgb(122, 25, 128);
/* oklch */ color: oklch(42.3% 0.175 325.5);
Tailwind
colors: {
  custom: {
    50: '#a463a5',
    500: '#7a1980',
    950: '#000000',
  },
}
SCSS
$custom: #7a1980;
$custom-light: #a463a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1980",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 296.505,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.17493,
    "h": 325.5
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#7A1980
secondary
#47B441
accent
#EA3E48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1980

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

Preview Lab → · Contrast checker → · Palette generator →

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