#7A26AA#7A26AA

#7A26AA is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.4% C 0.199 H 309.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7A26AA
RGBrgb(122, 38, 170)
HSLhsl(278, 63%, 41%)
HSVhsv(278, 78%, 67%)
CMYKcmyk(28.2%, 77.6%, 0%, 33.3%)
CIE-LABlab(34.86, 56.72, -54.12)
CIE-LCHlch(34.86, 78.40, 316.34°)
OKLaboklab(46.4% 0.1266 -0.1536)
OKLCHoklch(46.4% 0.199 309.5)
XYZxyz(15.9734, 8.4264, 38.8074)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26AA #56AA26
analogous
#3826AA #7A26AA #AA2698
triadic
#7A26AA #AA7A26 #26AA7A
tetradic
#7A26AA #AA3826 #56AA26 #2698AA
square
#7A26AA #AA3826 #56AA26 #2698AA
split-complementary
#7A26AA #98AA26 #26AA38
monochromatic
#321046 #561B78 #7A26AA #9B3AD3 #B56CDE

Accessibility & contrast

On white

7.82
#7A26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7A26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26AA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26AA#FFFFFF#000000##FFFFFF
##7A26AA1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#734667
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a26aa;
/* rgb */ color: rgb(122, 38, 170);
/* oklch */ color: oklch(46.4% 0.199 309.5);
Tailwind
colors: {
  custom: {
    50: '#a56ac4',
    500: '#7a26aa',
    950: '#000000',
  },
}
SCSS
$custom: #7a26aa;
$custom-light: #a56ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26aa",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 278.182,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46398,
    "c": 0.19904,
    "h": 309.5
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#7A26AA
secondary
#89C567
accent
#E6417D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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