#7A26A4#7A26A4

#7A26A4 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.193 H 311.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7A26A4
RGBrgb(122, 38, 164)
HSLhsl(280, 62%, 40%)
HSVhsv(280, 77%, 64%)
CMYKcmyk(25.6%, 76.8%, 0%, 35.7%)
CIE-LABlab(34.41, 55.43, -51.24)
CIE-LCHlch(34.41, 75.49, 317.25°)
OKLaboklab(45.94% 0.1278 -0.1451)
OKLCHoklch(45.94% 0.193 311.4)
XYZxyz(15.4187, 8.2045, 35.8862)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26A4 #50A426
analogous
#3B26A4 #7A26A4 #A4268F
triadic
#7A26A4 #A47A26 #26A47A
tetradic
#7A26A4 #A43B26 #50A426 #268FA4
square
#7A26A4 #A43B26 #50A426 #268FA4
split-complementary
#7A26A4 #8FA426 #26A43B
monochromatic
#300F41 #551A72 #7A26A4 #9D37D1 #B568DC

Accessibility & contrast

On white

7.95
#7A26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7A26A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26A4
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26A4#FFFFFF#000000##FFFFFF
##7A26A41.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0C52A1
Tritanopia (blue-blind)
#754464
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a26a4;
/* rgb */ color: rgb(122, 38, 164);
/* oklch */ color: oklch(45.9% 0.193 311.4);
Tailwind
colors: {
  custom: {
    50: '#a56ac0',
    500: '#7a26a4',
    950: '#000000',
  },
}
SCSS
$custom: #7a26a4;
$custom-light: #a56ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26a4",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 280,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.19339,
    "h": 311.4
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#7A26A4
secondary
#83C264
accent
#E54279
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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