#7A2986#7A2986

#7A2986 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.162 H 322.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7A2986
RGBrgb(122, 41, 134)
HSLhsl(292, 53%, 34%)
HSVhsv(292, 69%, 53%)
CMYKcmyk(9%, 69.4%, 0%, 47.5%)
CIE-LABlab(32.80, 48.07, -35.48)
CIE-LCHlch(32.80, 59.75, 323.57°)
OKLaboklab(44.15% 0.1279 -0.0989)
OKLCHoklch(44.15% 0.162 322.3)
XYZxyz(13.1216, 7.4454, 23.2956)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2986 #358629
analogous
#4C2986 #7A2986 #862964
triadic
#7A2986 #867A29 #29867A
tetradic
#7A2986 #864C29 #358629 #296486
square
#7A2986 #864C29 #358629 #296486
split-complementary
#7A2986 #648629 #29864C
monochromatic
#250C28 #4F1B57 #7A2986 #A537B5 #BF5CCD

Accessibility & contrast

On white

8.44
#7A2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7A2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2986
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2986#FFFFFF#000000##FFFFFF
##7A29861.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4789
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#7C3954
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2986;
/* rgb */ color: rgb(122, 41, 134);
/* oklch */ color: oklch(44.2% 0.162 322.3);
Tailwind
colors: {
  custom: {
    50: '#a36aaa',
    500: '#7a2986',
    950: '#000000',
  },
}
SCSS
$custom: #7a2986;
$custom-light: #a36aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2986",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 292.258,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.16168,
    "h": 322.3
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#7A2986
secondary
#64B358
accent
#DD4B5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2986

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

Preview Lab → · Contrast checker → · Palette generator →

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