#7A2082#7A2082

#7A2082 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.169 H 324.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7A2082
RGBrgb(122, 32, 130)
HSLhsl(295, 60%, 32%)
HSVhsv(295, 75%, 51%)
CMYKcmyk(6.2%, 75.4%, 0%, 49%)
CIE-LABlab(31.31, 50.84, -35.37)
CIE-LCHlch(31.31, 61.93, 325.17°)
OKLaboklab(43% 0.1376 -0.0986)
OKLCHoklch(43% 0.169 324.4)
XYZxyz(12.5715, 6.7831, 21.7619)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2082 #288220
analogous
#492082 #7A2082 #822059
triadic
#7A2082 #827A20 #20827A
tetradic
#7A2082 #824920 #288220 #205982
square
#7A2082 #824920 #288220 #205982
split-complementary
#7A2082 #598220 #208249
monochromatic
#1E0820 #4C1451 #7A2082 #A82CB3 #C74AD2

Accessibility & contrast

On white

8.91
#7A2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7A2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2082
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2082#FFFFFF#000000##FFFFFF
##7A20821.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#334D80
Tritanopia (blue-blind)
#7D314F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2082;
/* rgb */ color: rgb(122, 32, 130);
/* oklch */ color: oklch(43.0% 0.169 324.4);
Tailwind
colors: {
  custom: {
    50: '#a466a7',
    500: '#7a2082',
    950: '#000000',
  },
}
SCSS
$custom: #7a2082;
$custom-light: #a466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2082",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 295.102,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43004,
    "c": 0.16928,
    "h": 324.4
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#7A2082
secondary
#52B549
accent
#E44451
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A2082

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

Preview Lab → · Contrast checker → · Palette generator →

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