#7A26A9#7A26A9

#7A26A9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.198 H 309.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7A26A9
RGBrgb(122, 38, 169)
HSLhsl(278, 63%, 41%)
HSVhsv(278, 78%, 66%)
CMYKcmyk(27.8%, 77.5%, 0%, 33.7%)
CIE-LABlab(34.78, 56.50, -53.64)
CIE-LCHlch(34.78, 77.91, 316.49°)
OKLaboklab(46.32% 0.1268 -0.1522)
OKLCHoklch(46.32% 0.198 309.8)
XYZxyz(15.8792, 8.3887, 38.3111)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26A9 #55A926
analogous
#3826A9 #7A26A9 #A92696
triadic
#7A26A9 #A97A26 #26A97A
tetradic
#7A26A9 #A93826 #55A926 #2696A9
square
#7A26A9 #A93826 #55A926 #2696A9
split-complementary
#7A26A9 #96A926 #26A938
monochromatic
#321045 #561B77 #7A26A9 #9C3AD3 #B56CDE

Accessibility & contrast

On white

7.84
#7A26A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7A26A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26A9
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26A9#FFFFFF#000000##FFFFFF
##7A26A91.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a26a9;
/* rgb */ color: rgb(122, 38, 169);
/* oklch */ color: oklch(46.3% 0.198 309.8);
Tailwind
colors: {
  custom: {
    50: '#a56ac3',
    500: '#7a26a9',
    950: '#000000',
  },
}
SCSS
$custom: #7a26a9;
$custom-light: #a56ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26a9",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 278.473,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.19809,
    "h": 309.8
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#7A26A9
secondary
#88C467
accent
#E6417D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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