#7A1E95#7A1E95

#7A1E95 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.188 H 317.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#7A1E95
RGBrgb(122, 30, 149)
HSLhsl(286, 66%, 35%)
HSVhsv(286, 80%, 58%)
CMYKcmyk(18.1%, 79.9%, 0%, 41.6%)
CIE-LABlab(32.34, 55.16, -45.47)
CIE-LCHlch(32.34, 71.48, 320.50°)
OKLaboklab(44.14% 0.1374 -0.1281)
OKLCHoklch(44.14% 0.188 317)
XYZxyz(13.9143, 7.2367, 29.0918)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E95 #39951E
analogous
#3F1E95 #7A1E95 #951E74
triadic
#7A1E95 #957A1E #1E957A
tetradic
#7A1E95 #953F1E #39951E #1E7495
square
#7A1E95 #953F1E #39951E #1E7495
split-complementary
#7A1E95 #74951E #1E953F
monochromatic
#27092F #501462 #7A1E95 #A428C8 #BD51DC

Accessibility & contrast

On white

8.58
#7A1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E95
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E95#FFFFFF#000000##FFFFFF
##7A1E951.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#204F92
Tritanopia (blue-blind)
#79395A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a1e95;
/* rgb */ color: rgb(122, 30, 149);
/* oklch */ color: oklch(44.1% 0.188 317.0);
Tailwind
colors: {
  custom: {
    50: '#a466b5',
    500: '#7a1e95',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e95;
$custom-light: #a466b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e95",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 286.387,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.18788,
    "h": 317
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

primary
#7A1E95
secondary
#69BF50
accent
#E93E65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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