#7E25A9#7E25A9

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

Color values

HEX#7E25A9
RGBrgb(126, 37, 169)
HSLhsl(280, 64%, 40%)
HSVhsv(280, 78%, 66%)
CMYKcmyk(25.4%, 78.1%, 0%, 33.7%)
CIE-LABlab(35.25, 57.60, -52.85)
CIE-LCHlch(35.25, 78.18, 317.46°)
OKLaboklab(46.77% 0.1331 -0.1497)
OKLCHoklch(46.77% 0.2 311.6)
XYZxyz(16.4258, 8.6238, 38.3277)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E25A9 #50A925
analogous
#3C25A9 #7E25A9 #A92592
triadic
#7E25A9 #A97E25 #25A97E
tetradic
#7E25A9 #A93C25 #50A925 #2592A9
square
#7E25A9 #A93C25 #50A925 #2592A9
split-complementary
#7E25A9 #92A925 #25A93C
monochromatic
#330F45 #591A77 #7E25A9 #A138D3 #B86ADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E25A9#FFFFFF#000000##FFFFFF
##7E25A91.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)
#004FAD
Deuteranopia (green-blind)
#0754A6
Tritanopia (blue-blind)
#794567
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7e25a9;
/* rgb */ color: rgb(126, 37, 169);
/* oklch */ color: oklch(46.8% 0.200 311.6);
Tailwind
colors: {
  custom: {
    50: '#a86ac3',
    500: '#7e25a9',
    950: '#000000',
  },
}
SCSS
$custom: #7e25a9;
$custom-light: #a86ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e25a9",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 280.455,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.2003,
    "h": 311.6
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#7E25A9
secondary
#84C465
accent
#E74177
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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