#7A1EA9#7A1EA9

#7A1EA9 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.7% C 0.206 H 310.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7A1EA9
RGBrgb(122, 30, 169)
HSLhsl(280, 70%, 39%)
HSVhsv(280, 82%, 66%)
CMYKcmyk(27.8%, 82.2%, 0%, 33.7%)
CIE-LABlab(33.84, 59.23, -55.17)
CIE-LCHlch(33.84, 80.94, 317.03°)
OKLaboklab(45.66% 0.1332 -0.1566)
OKLCHoklch(45.66% 0.206 310.4)
XYZxyz(15.6503, 7.9311, 38.2348)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1EA9 #4DA91E
analogous
#351EA9 #7A1EA9 #A91E93
triadic
#7A1EA9 #A97A1E #1EA97A
tetradic
#7A1EA9 #A9351E #4DA91E #1E93A9
square
#7A1EA9 #A9351E #4DA91E #1E93A9
split-complementary
#7A1EA9 #93A91E #1EA935
monochromatic
#2F0C41 #541575 #7A1EA9 #9E2BD9 #B65FE3

Accessibility & contrast

On white

8.12
#7A1EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7A1EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1EA9
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1EA9#FFFFFF#000000##FFFFFF
##7A1EA91.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#734365
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a1ea9;
/* rgb */ color: rgb(122, 30, 169);
/* oklch */ color: oklch(45.7% 0.206 310.4);
Tailwind
colors: {
  custom: {
    50: '#a667c3',
    500: '#7a1ea9',
    950: '#000000',
  },
}
SCSS
$custom: #7a1ea9;
$custom-light: #a667c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1ea9",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 279.712,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45662,
    "c": 0.20562,
    "h": 310.4
  },
  "luminance": 0.07931
}

Semantic roles & 50–950 ramp

primary
#7A1EA9
secondary
#80C75C
accent
#ED3B77
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A1EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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