#7A1E85#7A1E85

#7A1E85 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.174 H 323.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7A1E85
RGBrgb(122, 30, 133)
HSLhsl(294, 63%, 32%)
HSVhsv(294, 77%, 52%)
CMYKcmyk(8.3%, 77.4%, 0%, 47.8%)
CIE-LABlab(31.25, 52.09, -37.33)
CIE-LCHlch(31.25, 64.08, 324.38°)
OKLaboklab(43.03% 0.1394 -0.1043)
OKLCHoklch(43.03% 0.174 323.2)
XYZxyz(12.7236, 6.7603, 22.8205)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E85 #29851E
analogous
#471E85 #7A1E85 #851E5D
triadic
#7A1E85 #857A1E #1E857A
tetradic
#7A1E85 #85471E #29851E #1E5D85
square
#7A1E85 #85471E #29851E #1E5D85
split-complementary
#7A1E85 #5D851E #1E8547
monochromatic
#1E0721 #4C1353 #7A1E85 #A829B7 #C748D6

Accessibility & contrast

On white

8.93
#7A1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7A1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E85
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E85#FFFFFF#000000##FFFFFF
##7A1E851.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#304D83
Tritanopia (blue-blind)
#7C3250
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1e85;
/* rgb */ color: rgb(122, 30, 133);
/* oklch */ color: oklch(43.0% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#a465a9',
    500: '#7a1e85',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e85;
$custom-light: #a465a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e85",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 293.592,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43027,
    "c": 0.17404,
    "h": 323.2
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#7A1E85
secondary
#53B847
accent
#E64253
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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