#7A2097#7A2097

#7A2097 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.188 H 316.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7A2097
RGBrgb(122, 32, 151)
HSLhsl(285, 65%, 36%)
HSVhsv(285, 79%, 59%)
CMYKcmyk(19.2%, 78.8%, 0%, 40.8%)
CIE-LABlab(32.71, 54.89, -46.09)
CIE-LCHlch(32.71, 71.68, 319.98°)
OKLaboklab(44.45% 0.1354 -0.1299)
OKLCHoklch(44.45% 0.188 316.2)
XYZxyz(14.1276, 7.4055, 29.9574)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2097 #3D9720
analogous
#3E2097 #7A2097 #972078
triadic
#7A2097 #977A20 #20977A
tetradic
#7A2097 #973E20 #3D9720 #207897
square
#7A2097 #973E20 #3D9720 #207897
split-complementary
#7A2097 #789720 #20973E
monochromatic
#280B32 #511564 #7A2097 #A32BC9 #BB56DB

Accessibility & contrast

On white

8.46
#7A2097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A2097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2097
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2097#FFFFFF#000000##FFFFFF
##7A20971.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#1F4F94
Tritanopia (blue-blind)
#783B5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2097;
/* rgb */ color: rgb(122, 32, 151);
/* oklch */ color: oklch(44.4% 0.188 316.2);
Tailwind
colors: {
  custom: {
    50: '#a467b6',
    500: '#7a2097',
    950: '#000000',
  },
}
SCSS
$custom: #7a2097;
$custom-light: #a467b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2097",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 285.378,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44448,
    "c": 0.18768,
    "h": 316.2
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#7A2097
secondary
#6EBF54
accent
#E84069
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A2097

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

Preview Lab → · Contrast checker → · Palette generator →

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