#7E25AA#7E25AA

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

Color values

HEX#7E25AA
RGBrgb(126, 37, 170)
HSLhsl(280, 64%, 41%)
HSVhsv(280, 78%, 67%)
CMYKcmyk(25.9%, 78.2%, 0%, 33.3%)
CIE-LABlab(35.32, 57.81, -53.33)
CIE-LCHlch(35.32, 78.65, 317.31°)
OKLaboklab(46.85% 0.1329 -0.1511)
OKLCHoklch(46.85% 0.201 311.3)
XYZxyz(16.5201, 8.6615, 38.8240)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E25AA #51AA25
analogous
#3B25AA #7E25AA #AA2593
triadic
#7E25AA #AA7E25 #25AA7E
tetradic
#7E25AA #AA3B25 #51AA25 #2593AA
square
#7E25AA #AA3B25 #51AA25 #2593AA
split-complementary
#7E25AA #93AA25 #25AA3B
monochromatic
#330F45 #591A78 #7E25AA #A038D4 #B86BDF

Accessibility & contrast

On white

7.69
#7E25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7E25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E25AA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E25AA#FFFFFF#000000##FFFFFF
##7E25AA1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e25aa;
/* rgb */ color: rgb(126, 37, 170);
/* oklch */ color: oklch(46.9% 0.201 311.3);
Tailwind
colors: {
  custom: {
    50: '#a86ac4',
    500: '#7e25aa',
    950: '#000000',
  },
}
SCSS
$custom: #7e25aa;
$custom-light: #a86ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e25aa",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 280.15,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4685,
    "c": 0.20122,
    "h": 311.3
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#7E25AA
secondary
#85C566
accent
#E74178
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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