#7E26AE#7E26AE

#7E26AE is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.204 H 310.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7E26AE
RGBrgb(126, 38, 174)
HSLhsl(279, 64%, 42%)
HSVhsv(279, 78%, 68%)
CMYKcmyk(27.6%, 78.2%, 0%, 31.8%)
CIE-LABlab(35.75, 58.30, -55.03)
CIE-LCHlch(35.75, 80.17, 316.65°)
OKLaboklab(47.24% 0.1312 -0.1561)
OKLCHoklch(47.24% 0.204 310)
XYZxyz(16.9358, 8.8782, 40.8577)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E26AE #56AE26
analogous
#3A26AE #7E26AE #AE269A
triadic
#7E26AE #AE7E26 #26AE7E
tetradic
#7E26AE #AE3A26 #56AE26 #269AAE
square
#7E26AE #AE3A26 #56AE26 #269AAE
split-complementary
#7E26AE #9AAE26 #26AE3A
monochromatic
#35104A #5A1B7C #7E26AE #9F3DD5 #B86FE0

Accessibility & contrast

On white

7.57
#7E26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7E26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E26AE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E26AE#FFFFFF#000000##FFFFFF
##7E26AE1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#77486A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e26ae;
/* rgb */ color: rgb(126, 38, 174);
/* oklch */ color: oklch(47.2% 0.204 310.0);
Tailwind
colors: {
  custom: {
    50: '#a86bc7',
    500: '#7e26ae',
    950: '#000000',
  },
}
SCSS
$custom: #7e26ae;
$custom-light: #a86bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e26ae",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 278.824,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47243,
    "c": 0.20392,
    "h": 310
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#7E26AE
secondary
#8AC66A
accent
#E7417B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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