#7A26AC#7A26AC

#7A26AC is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.201 H 308.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7A26AC
RGBrgb(122, 38, 172)
HSLhsl(278, 64%, 41%)
HSVhsv(278, 78%, 67%)
CMYKcmyk(29.1%, 77.9%, 0%, 32.5%)
CIE-LABlab(35.01, 57.15, -55.07)
CIE-LCHlch(35.01, 79.37, 316.06°)
OKLaboklab(46.55% 0.1262 -0.1564)
OKLCHoklch(46.55% 0.201 308.9)
XYZxyz(16.1640, 8.5027, 39.8114)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26AC #58AC26
analogous
#3726AC #7A26AC #AC269B
triadic
#7A26AC #AC7A26 #26AC7A
tetradic
#7A26AC #AC3726 #58AC26 #269BAC
square
#7A26AC #AC3726 #58AC26 #269BAC
split-complementary
#7A26AC #9BAC26 #26AC37
monochromatic
#331048 #561B7A #7A26AC #9B3BD4 #B56EDF

Accessibility & contrast

On white

7.78
#7A26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7A26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26AC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26AC#FFFFFF#000000##FFFFFF
##7A26AC1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#724768
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a26ac;
/* rgb */ color: rgb(122, 38, 172);
/* oklch */ color: oklch(46.6% 0.201 308.9);
Tailwind
colors: {
  custom: {
    50: '#a56ac6',
    500: '#7a26ac',
    950: '#000000',
  },
}
SCSS
$custom: #7a26ac;
$custom-light: #a56ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26ac",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 277.612,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46554,
    "c": 0.20093,
    "h": 308.9
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#7A26AC
secondary
#8BC568
accent
#E7417F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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