#7A25A4#7A25A4

#7A25A4 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.194 H 311.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7A25A4
RGBrgb(122, 37, 164)
HSLhsl(280, 63%, 39%)
HSVhsv(280, 77%, 64%)
CMYKcmyk(25.6%, 77.4%, 0%, 35.7%)
CIE-LABlab(34.28, 55.80, -51.45)
CIE-LCHlch(34.28, 75.90, 317.32°)
OKLaboklab(45.85% 0.1287 -0.1457)
OKLCHoklch(45.85% 0.194 311.4)
XYZxyz(15.3872, 8.1414, 35.8756)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25A4 #4FA425
analogous
#3A25A4 #7A25A4 #A4258F
triadic
#7A25A4 #A47A25 #25A47A
tetradic
#7A25A4 #A43A25 #4FA425 #258FA4
square
#7A25A4 #A43A25 #4FA425 #258FA4
split-complementary
#7A25A4 #8FA425 #25A43A
monochromatic
#300E40 #551A72 #7A25A4 #9E35D1 #B667DD

Accessibility & contrast

On white

7.99
#7A25A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7A25A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25A4
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25A4#FFFFFF#000000##FFFFFF
##7A25A41.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0952A1
Tritanopia (blue-blind)
#754364
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a25a4;
/* rgb */ color: rgb(122, 37, 164);
/* oklch */ color: oklch(45.8% 0.194 311.4);
Tailwind
colors: {
  custom: {
    50: '#a569c0',
    500: '#7a25a4',
    950: '#000000',
  },
}
SCSS
$custom: #7a25a4;
$custom-light: #a569c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25a4",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 280.157,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45848,
    "c": 0.19444,
    "h": 311.4
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#7A25A4
secondary
#82C262
accent
#E64278
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A25A4

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

Preview Lab → · Contrast checker → · Palette generator →

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