#7E25A3#7E25A3

#7E25A3 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.195 H 313.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7E25A3
RGBrgb(126, 37, 163)
HSLhsl(282, 63%, 39%)
HSVhsv(282, 77%, 64%)
CMYKcmyk(22.7%, 77.3%, 0%, 36.1%)
CIE-LABlab(34.81, 56.35, -49.96)
CIE-LCHlch(34.81, 75.31, 318.44°)
OKLaboklab(46.33% 0.1342 -0.1412)
OKLCHoklch(46.33% 0.195 313.5)
XYZxyz(15.8755, 8.4036, 35.4290)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E25A3 #4AA325
analogous
#3F25A3 #7E25A3 #A32589
triadic
#7E25A3 #A37E25 #25A37E
tetradic
#7E25A3 #A33F25 #4AA325 #2589A3
square
#7E25A3 #A33F25 #4AA325 #2589A3
split-complementary
#7E25A3 #89A325 #25A33F
monochromatic
#310E3F #571A71 #7E25A3 #A334D1 #BA66DC

Accessibility & contrast

On white

7.83
#7E25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7E25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E25A3
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E25A3#FFFFFF#000000##FFFFFF
##7E25A31.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#1854A0
Tritanopia (blue-blind)
#7A4263
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e25a3;
/* rgb */ color: rgb(126, 37, 163);
/* oklch */ color: oklch(46.3% 0.195 313.5);
Tailwind
colors: {
  custom: {
    50: '#a86abf',
    500: '#7e25a3',
    950: '#000000',
  },
}
SCSS
$custom: #7e25a3;
$custom-light: #a86abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e25a3",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 282.381,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46325,
    "c": 0.19479,
    "h": 313.5
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#7E25A3
secondary
#7EC262
accent
#E64272
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7E25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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