#7A1FA9#7A1FA9

#7A1FA9 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.205 H 310.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7A1FA9
RGBrgb(122, 31, 169)
HSLhsl(280, 69%, 39%)
HSVhsv(280, 82%, 66%)
CMYKcmyk(27.8%, 81.7%, 0%, 33.7%)
CIE-LABlab(33.95, 58.91, -55.00)
CIE-LCHlch(33.95, 80.60, 316.97°)
OKLaboklab(45.74% 0.1325 -0.1561)
OKLCHoklch(45.74% 0.205 310.3)
XYZxyz(15.6760, 7.9825, 38.2434)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1FA9 #4EA91F
analogous
#351FA9 #7A1FA9 #A91F93
triadic
#7A1FA9 #A97A1F #1FA97A
tetradic
#7A1FA9 #A9351F #4EA91F #1F93A9
square
#7A1FA9 #A9351F #4EA91F #1F93A9
split-complementary
#7A1FA9 #93A91F #1FA935
monochromatic
#2F0C42 #551675 #7A1FA9 #9E2DD8 #B660E2

Accessibility & contrast

On white

8.09
#7A1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7A1FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1FA9
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1FA9#FFFFFF#000000##FFFFFF
##7A1FA91.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.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: #7a1fa9;
/* rgb */ color: rgb(122, 31, 169);
/* oklch */ color: oklch(45.7% 0.205 310.3);
Tailwind
colors: {
  custom: {
    50: '#a667c3',
    500: '#7a1fa9',
    950: '#000000',
  },
}
SCSS
$custom: #7a1fa9;
$custom-light: #a667c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1fa9",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 279.565,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45737,
    "c": 0.20475,
    "h": 310.3
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#7A1FA9
secondary
#81C75D
accent
#EC3C78
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A1FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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