#7A1986#7A1986

#7A1986 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.180 H 323.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7A1986
RGBrgb(122, 25, 134)
HSLhsl(293, 69%, 31%)
HSVhsv(293, 81%, 53%)
CMYKcmyk(9%, 81.3%, 0%, 47.5%)
CIE-LABlab(30.77, 53.86, -38.72)
CIE-LCHlch(30.77, 66.34, 324.28°)
OKLaboklab(42.71% 0.1436 -0.1083)
OKLCHoklch(42.71% 0.18 323)
XYZxyz(12.6763, 6.5548, 23.1472)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1986 #258619
analogous
#431986 #7A1986 #86195B
triadic
#7A1986 #867A19 #19867A
tetradic
#7A1986 #864319 #258619 #195B86
square
#7A1986 #864319 #258619 #195B86
split-complementary
#7A1986 #5B8619 #198643
monochromatic
#1C061F #4B0F52 #7A1986 #A923BA #CA3EDB

Accessibility & contrast

On white

9.09
#7A1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7A1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1986
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1986#FFFFFF#000000##FFFFFF
##7A19861.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#2C4C84
Tritanopia (blue-blind)
#7C2F50
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a1986;
/* rgb */ color: rgb(122, 25, 134);
/* oklch */ color: oklch(42.7% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#a463aa',
    500: '#7a1986',
    950: '#000000',
  },
}
SCSS
$custom: #7a1986;
$custom-light: #a463aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1986",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 293.394,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42705,
    "c": 0.17984,
    "h": 323
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#7A1986
secondary
#4EBA41
accent
#EB3C50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1986

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

Preview Lab → · Contrast checker → · Palette generator →

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