#7A26A3#7A26A3

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

Color values

HEX#7A26A3
RGBrgb(122, 38, 163)
HSLhsl(280, 62%, 39%)
HSVhsv(280, 77%, 64%)
CMYKcmyk(25.2%, 76.7%, 0%, 36.1%)
CIE-LABlab(34.33, 55.22, -50.76)
CIE-LCHlch(34.33, 75.00, 317.41°)
OKLaboklab(45.86% 0.128 -0.1437)
OKLCHoklch(45.86% 0.192 311.7)
XYZxyz(15.3288, 8.1686, 35.4124)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26A3 #4FA326
analogous
#3C26A3 #7A26A3 #A3268E
triadic
#7A26A3 #A37A26 #26A37A
tetradic
#7A26A3 #A33C26 #4FA326 #268EA3
square
#7A26A3 #A33C26 #4FA326 #268EA3
split-complementary
#7A26A3 #8EA326 #26A33C
monochromatic
#300F40 #551A71 #7A26A3 #9E36D0 #B668DC

Accessibility & contrast

On white

7.97
#7A26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7A26A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26A3
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26A3#FFFFFF#000000##FFFFFF
##7A26A31.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0F52A0
Tritanopia (blue-blind)
#754363
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a26a3;
/* rgb */ color: rgb(122, 38, 163);
/* oklch */ color: oklch(45.9% 0.192 311.7);
Tailwind
colors: {
  custom: {
    50: '#a56abf',
    500: '#7a26a3',
    950: '#000000',
  },
}
SCSS
$custom: #7a26a3;
$custom-light: #a56abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26a3",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 280.32,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45864,
    "c": 0.19244,
    "h": 311.7
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#7A26A3
secondary
#82C263
accent
#E54378
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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