#7A2A86#7A2A86

#7A2A86 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.160 H 322.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7A2A86
RGBrgb(122, 42, 134)
HSLhsl(292, 52%, 35%)
HSVhsv(292, 69%, 53%)
CMYKcmyk(9%, 68.7%, 0%, 47.5%)
CIE-LABlab(32.95, 47.64, -35.24)
CIE-LCHlch(32.95, 59.26, 323.51°)
OKLaboklab(44.26% 0.1267 -0.0982)
OKLCHoklch(44.26% 0.16 322.2)
XYZxyz(13.1566, 7.5154, 23.3073)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A86 #36862A
analogous
#4C2A86 #7A2A86 #862A64
triadic
#7A2A86 #867A2A #2A867A
tetradic
#7A2A86 #864C2A #36862A #2A6486
square
#7A2A86 #864C2A #36862A #2A6486
split-complementary
#7A2A86 #64862A #2A864C
monochromatic
#250D29 #501B57 #7A2A86 #A439B5 #BE5ECD

Accessibility & contrast

On white

8.39
#7A2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7A2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A86
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A86#FFFFFF#000000##FFFFFF
##7A2A861.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#365184
Tritanopia (blue-blind)
#7C3954
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2a86;
/* rgb */ color: rgb(122, 42, 134);
/* oklch */ color: oklch(44.3% 0.160 322.2);
Tailwind
colors: {
  custom: {
    50: '#a36aaa',
    500: '#7a2a86',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a86;
$custom-light: #a36aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a86",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 292.174,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44261,
    "c": 0.16034,
    "h": 322.2
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

primary
#7A2A86
secondary
#65B25A
accent
#DC4C5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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