#7A2177#7A2177

#7A2177 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.159 H 329.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7A2177
RGBrgb(122, 33, 119)
HSLhsl(302, 57%, 30%)
HSVhsv(302, 73%, 48%)
CMYKcmyk(0%, 73%, 2.5%, 52.2%)
CIE-LABlab(30.78, 48.50, -29.29)
CIE-LCHlch(30.78, 56.66, 328.87°)
OKLaboklab(42.41% 0.1367 -0.0809)
OKLCHoklch(42.41% 0.159 329.4)
XYZxyz(11.8996, 6.5581, 18.0883)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2177 #217A24
analogous
#50217A #7A2177 #7A214B
triadic
#7A2177 #777A21 #21777A
tetradic
#7A2177 #7A5021 #217A24 #214B7A
square
#7A2177 #7A5021 #217A24 #214B7A
split-complementary
#7A2177 #4B7A21 #217A50
monochromatic
#1A0719 #4A1448 #7A2177 #AA2EA6 #CD48C9

Accessibility & contrast

On white

9.09
#7A2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7A2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2177
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2177#FFFFFF#000000##FFFFFF
##7A21771.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#3A4D75
Tritanopia (blue-blind)
#7E2D49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a2177;
/* rgb */ color: rgb(122, 33, 119);
/* oklch */ color: oklch(42.4% 0.159 329.4);
Tailwind
colors: {
  custom: {
    50: '#a4669e',
    500: '#7a2177',
    950: '#000000',
  },
}
SCSS
$custom: #7a2177;
$custom-light: #a4669e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2177",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 302.022,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.15882,
    "h": 329.4
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#7A2177
secondary
#4AAD4D
accent
#E14C47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A2177

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

Preview Lab → · Contrast checker → · Palette generator →

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