#7E26AA#7E26AA

#7E26AA is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 46.9% C 0.200 H 311.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7E26AA
RGBrgb(126, 38, 170)
HSLhsl(280, 63%, 41%)
HSVhsv(280, 78%, 67%)
CMYKcmyk(25.9%, 77.6%, 0%, 33.3%)
CIE-LABlab(35.45, 57.45, -53.13)
CIE-LCHlch(35.45, 78.25, 317.24°)
OKLaboklab(46.94% 0.132 -0.1505)
OKLCHoklch(46.94% 0.2 311.2)
XYZxyz(16.5516, 8.7245, 38.8345)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E26AA #52AA26
analogous
#3C26AA #7E26AA #AA2694
triadic
#7E26AA #AA7E26 #26AA7E
tetradic
#7E26AA #AA3C26 #52AA26 #2694AA
square
#7E26AA #AA3C26 #52AA26 #2694AA
split-complementary
#7E26AA #94AA26 #26AA3C
monochromatic
#341046 #591B78 #7E26AA #A03AD3 #B86CDE

Accessibility & contrast

On white

7.65
#7E26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7E26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E26AA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E26AA#FFFFFF#000000##FFFFFF
##7E26AA1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0655A7
Tritanopia (blue-blind)
#784667
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e26aa;
/* rgb */ color: rgb(126, 38, 170);
/* oklch */ color: oklch(46.9% 0.200 311.2);
Tailwind
colors: {
  custom: {
    50: '#a86bc4',
    500: '#7e26aa',
    950: '#000000',
  },
}
SCSS
$custom: #7e26aa;
$custom-light: #a86bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e26aa",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 280,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46937,
    "c": 0.20021,
    "h": 311.2
  },
  "luminance": 0.08724
}

Semantic roles & 50–950 ramp

primary
#7E26AA
secondary
#86C567
accent
#E64178
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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