#7A1E96#7A1E96

#7A1E96 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.189 H 316.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7A1E96
RGBrgb(122, 30, 150)
HSLhsl(286, 67%, 35%)
HSVhsv(286, 80%, 59%)
CMYKcmyk(18.7%, 80%, 0%, 41.2%)
CIE-LABlab(32.41, 55.36, -45.97)
CIE-LCHlch(32.41, 71.95, 320.29°)
OKLaboklab(44.21% 0.1373 -0.1296)
OKLCHoklch(44.21% 0.189 316.7)
XYZxyz(13.9945, 7.2687, 29.5141)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E96 #3A961E
analogous
#3E1E96 #7A1E96 #961E76
triadic
#7A1E96 #967A1E #1E967A
tetradic
#7A1E96 #963E1E #3A961E #1E7696
square
#7A1E96 #963E1E #3A961E #1E7696
split-complementary
#7A1E96 #76961E #1E963E
monochromatic
#270A30 #511463 #7A1E96 #A328C9 #BC52DC

Accessibility & contrast

On white

8.56
#7A1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7A1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E96
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E96#FFFFFF#000000##FFFFFF
##7A1E961.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#1E4F93
Tritanopia (blue-blind)
#783A5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a1e96;
/* rgb */ color: rgb(122, 30, 150);
/* oklch */ color: oklch(44.2% 0.189 316.7);
Tailwind
colors: {
  custom: {
    50: '#a566b6',
    500: '#7a1e96',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e96;
$custom-light: #a566b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e96",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 286,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44213,
    "c": 0.18876,
    "h": 316.7
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#7A1E96
secondary
#6ABF50
accent
#EA3E66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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