#7A1EA0#7A1EA0

#7A1EA0 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 45.0% C 0.198 H 313.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7A1EA0
RGBrgb(122, 30, 160)
HSLhsl(282, 68%, 37%)
HSVhsv(282, 81%, 63%)
CMYKcmyk(23.7%, 81.3%, 0%, 37.3%)
CIE-LABlab(33.15, 57.37, -50.87)
CIE-LCHlch(33.15, 76.67, 318.44°)
OKLaboklab(44.96% 0.1353 -0.144)
OKLCHoklch(44.96% 0.198 313.2)
XYZxyz(14.8343, 7.6047, 33.9373)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1EA0 #44A01E
analogous
#391EA0 #7A1EA0 #A01E85
triadic
#7A1EA0 #A07A1E #1EA07A
tetradic
#7A1EA0 #A0391E #44A01E #1E85A0
square
#7A1EA0 #A0391E #44A01E #1E85A0
split-complementary
#7A1EA0 #85A01E #1EA039
monochromatic
#2B0B39 #53146C #7A1EA0 #A128D4 #B859E0

Accessibility & contrast

On white

8.33
#7A1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7A1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1EA0
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1EA0#FFFFFF#000000##FFFFFF
##7A1EA01.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#08509D
Tritanopia (blue-blind)
#763E60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a1ea0;
/* rgb */ color: rgb(122, 30, 160);
/* oklch */ color: oklch(45.0% 0.198 313.2);
Tailwind
colors: {
  custom: {
    50: '#a566bd',
    500: '#7a1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #7a1ea0;
$custom-light: #a566bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1ea0",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 282.462,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44961,
    "c": 0.1976,
    "h": 313.2
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#7A1EA0
secondary
#76C456
accent
#EB3D70
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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