#7A2586#7A2586

#7A2586 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.167 H 322.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7A2586
RGBrgb(122, 37, 134)
HSLhsl(293, 57%, 34%)
HSVhsv(293, 72%, 53%)
CMYKcmyk(9%, 72.4%, 0%, 47.5%)
CIE-LABlab(32.22, 49.71, -36.41)
CIE-LCHlch(32.22, 61.62, 323.78°)
OKLaboklab(43.74% 0.1323 -0.1016)
OKLCHoklch(43.74% 0.167 322.5)
XYZxyz(12.9902, 7.1827, 23.2518)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2586 #318625
analogous
#492586 #7A2586 #862561
triadic
#7A2586 #867A25 #25867A
tetradic
#7A2586 #864925 #318625 #256186
square
#7A2586 #864925 #318625 #256186
split-complementary
#7A2586 #618625 #258649
monochromatic
#230B26 #4E1856 #7A2586 #A632B6 #C155D0

Accessibility & contrast

On white

8.62
#7A2586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7A2586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2586
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2586#FFFFFF#000000##FFFFFF
##7A25861.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014689
Deuteranopia (green-blind)
#334F84
Tritanopia (blue-blind)
#7C3653
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2586;
/* rgb */ color: rgb(122, 37, 134);
/* oklch */ color: oklch(43.7% 0.167 322.5);
Tailwind
colors: {
  custom: {
    50: '#a468aa',
    500: '#7a2586',
    950: '#000000',
  },
}
SCSS
$custom: #7a2586;
$custom-light: #a468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2586",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 292.577,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43735,
    "c": 0.16684,
    "h": 322.5
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#7A2586
secondary
#5EB452
accent
#E0485B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A2586

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

Preview Lab → · Contrast checker → · Palette generator →

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