#7E26AF#7E26AF

#7E26AF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.205 H 309.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7E26AF
RGBrgb(126, 38, 175)
HSLhsl(279, 64%, 42%)
HSVhsv(279, 78%, 69%)
CMYKcmyk(28%, 78.3%, 0%, 31.4%)
CIE-LABlab(35.82, 58.52, -55.51)
CIE-LCHlch(35.82, 80.66, 316.51°)
OKLaboklab(47.32% 0.131 -0.1575)
OKLCHoklch(47.32% 0.205 309.7)
XYZxyz(17.0336, 8.9173, 41.3730)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E26AF #57AF26
analogous
#3A26AF #7E26AF #AF269C
triadic
#7E26AF #AF7E26 #26AF7E
tetradic
#7E26AF #AF3A26 #57AF26 #269CAF
square
#7E26AF #AF3A26 #57AF26 #269CAF
split-complementary
#7E26AF #9CAF26 #26AF3A
monochromatic
#36104A #5A1B7D #7E26AF #9F3DD5 #B870E0

Accessibility & contrast

On white

7.54
#7E26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E26AF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E26AF#FFFFFF#000000##FFFFFF
##7E26AF1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#77486A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e26af;
/* rgb */ color: rgb(126, 38, 175);
/* oklch */ color: oklch(47.3% 0.205 309.7);
Tailwind
colors: {
  custom: {
    50: '#a86bc8',
    500: '#7e26af',
    950: '#000000',
  },
}
SCSS
$custom: #7e26af;
$custom-light: #a86bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e26af",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 278.54,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4732,
    "c": 0.20485,
    "h": 309.7
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#7E26AF
secondary
#8BC76A
accent
#E7407C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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