#7A26C7#7A26C7

#7A26C7 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.8% C 0.227 H 301.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7A26C7
RGBrgb(122, 38, 199)
HSLhsl(271, 68%, 46%)
HSVhsv(271, 81%, 78%)
CMYKcmyk(38.7%, 80.9%, 0%, 22%)
CIE-LABlab(37.20, 63.17, -67.44)
CIE-LCHlch(37.20, 92.40, 313.13°)
OKLaboklab(48.76% 0.1191 -0.1927)
OKLCHoklch(48.76% 0.227 301.7)
XYZxyz(19.0254, 9.6472, 54.8815)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26C7 #73C726
analogous
#2926C7 #7A26C7 #C726C4
triadic
#7A26C7 #C77A26 #26C77A
tetradic
#7A26C7 #C72926 #73C726 #26C4C7
square
#7A26C7 #C72926 #73C726 #26C4C7
split-complementary
#7A26C7 #C4C726 #26C729
monochromatic
#3B1260 #5A1C94 #7A26C7 #984DDD #B681E7

Accessibility & contrast

On white

7.17
#7A26C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7A26C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26C7
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26C7#FFFFFF#000000##FFFFFF
##7A26C71.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#695378
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7a26c7;
/* rgb */ color: rgb(122, 38, 199);
/* oklch */ color: oklch(48.8% 0.227 301.7);
Tailwind
colors: {
  custom: {
    50: '#a86cd9',
    500: '#7a26c7',
    950: '#000000',
  },
}
SCSS
$custom: #7a26c7;
$custom-light: #a86cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26c7",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 271.304,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.22653,
    "h": 301.7
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#7A26C7
secondary
#A3CF79
accent
#EB3D90
background
#FAF6FD
surface
#F5ECFB
border
#CFC7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #7A26C7

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

Preview Lab → · Contrast checker → · Palette generator →

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