#7A26AF#7A26AF

#7A26AF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.204 H 308.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7A26AF
RGBrgb(122, 38, 175)
HSLhsl(277, 64%, 42%)
HSVhsv(277, 78%, 69%)
CMYKcmyk(30.3%, 78.3%, 0%, 31.4%)
CIE-LABlab(35.24, 57.81, -56.48)
CIE-LCHlch(35.24, 80.82, 315.66°)
OKLaboklab(46.79% 0.1255 -0.1605)
OKLCHoklch(46.79% 0.204 308)
XYZxyz(16.4554, 8.6192, 41.3459)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A26AF #5BAF26
analogous
#3526AF #7A26AF #AF26A0
triadic
#7A26AF #AF7A26 #26AF7A
tetradic
#7A26AF #AF3526 #5BAF26 #26A0AF
square
#7A26AF #AF3526 #5BAF26 #26A0AF
split-complementary
#7A26AF #A0AF26 #26AF35
monochromatic
#34104A #571B7D #7A26AF #9A3DD5 #B470E0

Accessibility & contrast

On white

7.71
#7A26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7A26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A26AF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A26AF#FFFFFF#000000##FFFFFF
##7A26AF1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#71496A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a26af;
/* rgb */ color: rgb(122, 38, 175);
/* oklch */ color: oklch(46.8% 0.204 308.0);
Tailwind
colors: {
  custom: {
    50: '#a66ac8',
    500: '#7a26af',
    950: '#000000',
  },
}
SCSS
$custom: #7a26af;
$custom-light: #a66ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a26af",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 276.788,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46789,
    "c": 0.20376,
    "h": 308
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#7A26AF
secondary
#8EC76A
accent
#E74081
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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