#7A186F#7A186F

#7A186F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.163 H 333.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7A186F
RGBrgb(122, 24, 111)
HSLhsl(307, 67%, 29%)
HSVhsv(307, 80%, 48%)
CMYKcmyk(0%, 80.3%, 9%, 52.2%)
CIE-LABlab(29.26, 50.21, -26.60)
CIE-LCHlch(29.26, 56.82, 332.08°)
OKLaboklab(41.18% 0.1452 -0.073)
OKLCHoklch(41.18% 0.163 333.3)
XYZxyz(11.2220, 5.9395, 15.5913)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A186F #187A23
analogous
#54187A #7A186F #7A183E
triadic
#7A186F #6F7A18 #186F7A
tetradic
#7A186F #7A5418 #187A23 #183E7A
square
#7A186F #7A5418 #187A23 #183E7A
split-complementary
#7A186F #3E7A18 #187A54
monochromatic
#1A0517 #470E40 #7A186F #AD229E #D735C5

Accessibility & contrast

On white

9.60
#7A186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7A186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A186F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A186F#FFFFFF#000000##FFFFFF
##7A186F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C71
Deuteranopia (green-blind)
#3B4A6D
Tritanopia (blue-blind)
#802343
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a186f;
/* rgb */ color: rgb(122, 24, 111);
/* oklch */ color: oklch(41.2% 0.163 333.3);
Tailwind
colors: {
  custom: {
    50: '#a46298',
    500: '#7a186f',
    950: '#000000',
  },
}
SCSS
$custom: #7a186f;
$custom-light: #a46298;
$custom-dark: #000000;
JSON
{
  "hex": "#7a186f",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 306.735,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41177,
    "c": 0.16254,
    "h": 333.3
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#7A186F
secondary
#3FAF4C
accent
#EA513E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A186F

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

Preview Lab → · Contrast checker → · Palette generator →

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