#7A146E#7A146E

#7A146E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.166 H 333.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7A146E
RGBrgb(122, 20, 110)
HSLhsl(307, 72%, 28%)
HSVhsv(307, 84%, 48%)
CMYKcmyk(0%, 83.6%, 9.8%, 52.2%)
CIE-LABlab(28.81, 51.18, -26.67)
CIE-LCHlch(28.81, 57.71, 332.48°)
OKLaboklab(40.84% 0.1485 -0.0732)
OKLCHoklch(40.84% 0.166 333.8)
XYZxyz(11.0908, 5.7647, 15.2774)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A146E #147A20
analogous
#53147A #7A146E #7A143B
triadic
#7A146E #6E7A14 #146E7A
tetradic
#7A146E #7A5314 #147A20 #143B7A
square
#7A146E #7A5314 #147A20 #143B7A
split-complementary
#7A146E #3B7A14 #147A53
monochromatic
#1A0418 #450B3F #7A146E #AF1D9D #DC2CC8

Accessibility & contrast

On white

9.75
#7A146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A146E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A146E#FFFFFF#000000##FFFFFF
##7A146E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B70
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#802041
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a146e;
/* rgb */ color: rgb(122, 20, 110);
/* oklch */ color: oklch(40.8% 0.166 333.8);
Tailwind
colors: {
  custom: {
    50: '#a46098',
    500: '#7a146e',
    950: '#000000',
  },
}
SCSS
$custom: #7a146e;
$custom-light: #a46098;
$custom-dark: #000000;
JSON
{
  "hex": "#7a146e",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 307.059,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40838,
    "c": 0.16557,
    "h": 333.8
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#7A146E
secondary
#3AB048
accent
#EF4F39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A146E

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

Preview Lab → · Contrast checker → · Palette generator →

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