#7E1A85#7E1A85

#7E1A85 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.180 H 325.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7E1A85
RGBrgb(126, 26, 133)
HSLhsl(296, 67%, 31%)
HSVhsv(296, 80%, 52%)
CMYKcmyk(5.3%, 80.5%, 0%, 47.8%)
CIE-LABlab(31.51, 54.21, -36.89)
CIE-LCHlch(31.51, 65.57, 325.77°)
OKLaboklab(43.34% 0.1475 -0.1028)
OKLCHoklch(43.34% 0.18 325.1)
XYZxyz(13.2069, 6.8687, 22.8159)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A85 #21851A
analogous
#481A85 #7E1A85 #851A56
triadic
#7E1A85 #857E1A #1A857E
tetradic
#7E1A85 #85481A #21851A #1A5685
square
#7E1A85 #85481A #21851A #1A5685
split-complementary
#7E1A85 #56851A #1A8548
monochromatic
#1D061F #4E1052 #7E1A85 #AE24B8 #D040DA

Accessibility & contrast

On white

8.85
#7E1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7E1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A85
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A85#FFFFFF#000000##FFFFFF
##7E1A851.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#324E83
Tritanopia (blue-blind)
#812F50
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e1a85;
/* rgb */ color: rgb(126, 26, 133);
/* oklch */ color: oklch(43.3% 0.180 325.1);
Tailwind
colors: {
  custom: {
    50: '#a764a9',
    500: '#7e1a85',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a85;
$custom-light: #a764a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a85",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 296.075,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43339,
    "c": 0.17983,
    "h": 325.1
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#7E1A85
secondary
#4AB842
accent
#EA3E49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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