#7A25A2#7A25A2

#7A25A2 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.193 H 312.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7A25A2
RGBrgb(122, 37, 162)
HSLhsl(281, 63%, 39%)
HSVhsv(281, 77%, 64%)
CMYKcmyk(24.7%, 77.2%, 0%, 36.5%)
CIE-LABlab(34.13, 55.38, -50.49)
CIE-LCHlch(34.13, 74.94, 317.64°)
OKLaboklab(45.7% 0.1291 -0.1429)
OKLCHoklch(45.7% 0.193 312.1)
XYZxyz(15.2080, 8.0698, 34.9319)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25A2 #4DA225
analogous
#3C25A2 #7A25A2 #A2258C
triadic
#7A25A2 #A27A25 #25A27A
tetradic
#7A25A2 #A23C25 #4DA225 #258CA2
square
#7A25A2 #A23C25 #4DA225 #258CA2
split-complementary
#7A25A2 #8CA225 #25A23C
monochromatic
#2F0E3E #541A70 #7A25A2 #9E34D1 #B665DC

Accessibility & contrast

On white

8.03
#7A25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7A25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25A2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25A2#FFFFFF#000000##FFFFFF
##7A25A21.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#10529F
Tritanopia (blue-blind)
#754263
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a25a2;
/* rgb */ color: rgb(122, 37, 162);
/* oklch */ color: oklch(45.7% 0.193 312.1);
Tailwind
colors: {
  custom: {
    50: '#a569be',
    500: '#7a25a2',
    950: '#000000',
  },
}
SCSS
$custom: #7a25a2;
$custom-light: #a569be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25a2",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 280.8,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45698,
    "c": 0.19256,
    "h": 312.1
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#7A25A2
secondary
#80C261
accent
#E64276
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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