#7A2486#7A2486

#7A2486 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.168 H 322.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7A2486
RGBrgb(122, 36, 134)
HSLhsl(293, 58%, 33%)
HSVhsv(293, 73%, 53%)
CMYKcmyk(9%, 73.1%, 0%, 47.5%)
CIE-LABlab(32.08, 50.10, -36.63)
CIE-LCHlch(32.08, 62.06, 323.83°)
OKLaboklab(43.64% 0.1334 -0.1023)
OKLCHoklch(43.64% 0.168 322.5)
XYZxyz(12.9596, 7.1213, 23.2416)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2486 #308624
analogous
#492486 #7A2486 #862461
triadic
#7A2486 #867A24 #24867A
tetradic
#7A2486 #864924 #308624 #246186
square
#7A2486 #864924 #308624 #246186
split-complementary
#7A2486 #618624 #248649
monochromatic
#220A26 #4E1756 #7A2486 #A631B6 #C253D1

Accessibility & contrast

On white

8.66
#7A2486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7A2486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2486
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2486#FFFFFF#000000##FFFFFF
##7A24861.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#324F84
Tritanopia (blue-blind)
#7C3653
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2486;
/* rgb */ color: rgb(122, 36, 134);
/* oklch */ color: oklch(43.6% 0.168 322.5);
Tailwind
colors: {
  custom: {
    50: '#a468aa',
    500: '#7a2486',
    950: '#000000',
  },
}
SCSS
$custom: #7a2486;
$custom-light: #a468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2486",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 292.653,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43637,
    "c": 0.16807,
    "h": 322.5
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#7A2486
secondary
#5DB551
accent
#E1475A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7A2486

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

Preview Lab → · Contrast checker → · Palette generator →

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