#7A1996#7A1996

#7A1996 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.8% C 0.193 H 316.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7A1996
RGBrgb(122, 25, 150)
HSLhsl(287, 71%, 34%)
HSVhsv(287, 83%, 59%)
CMYKcmyk(18.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(31.89, 56.88, -46.81)
CIE-LCHlch(31.89, 73.66, 320.54°)
OKLaboklab(43.85% 0.1411 -0.132)
OKLCHoklch(43.85% 0.193 316.9)
XYZxyz(13.8779, 7.0355, 29.4752)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1996 #359619
analogous
#3C1996 #7A1996 #961974
triadic
#7A1996 #967A19 #19967A
tetradic
#7A1996 #963C19 #359619 #197496
square
#7A1996 #963C19 #359619 #197496
split-complementary
#7A1996 #749619 #19963C
monochromatic
#25082D #4F1062 #7A1996 #A522CA #BF49E1

Accessibility & contrast

On white

8.72
#7A1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7A1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1996
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1996#FFFFFF#000000##FFFFFF
##7A19961.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#1A4E93
Tritanopia (blue-blind)
#783759
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a1996;
/* rgb */ color: rgb(122, 25, 150);
/* oklch */ color: oklch(43.8% 0.193 316.9);
Tailwind
colors: {
  custom: {
    50: '#a564b6',
    500: '#7a1996',
    950: '#000000',
  },
}
SCSS
$custom: #7a1996;
$custom-light: #a564b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1996",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 286.56,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43845,
    "c": 0.19326,
    "h": 316.9
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#7A1996
secondary
#64C249
accent
#EE3A62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1996

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

Preview Lab → · Contrast checker → · Palette generator →

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