#7A25A3#7A25A3

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

Color values

HEX#7A25A3
RGBrgb(122, 37, 163)
HSLhsl(280, 63%, 39%)
HSVhsv(280, 77%, 64%)
CMYKcmyk(25.2%, 77.3%, 0%, 36.1%)
CIE-LABlab(34.20, 55.59, -50.97)
CIE-LCHlch(34.20, 75.42, 317.48°)
OKLaboklab(45.77% 0.1289 -0.1443)
OKLCHoklch(45.77% 0.194 311.8)
XYZxyz(15.2972, 8.1055, 35.4019)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25A3 #4EA325
analogous
#3B25A3 #7A25A3 #A3258D
triadic
#7A25A3 #A37A25 #25A37A
tetradic
#7A25A3 #A33B25 #4EA325 #258DA3
square
#7A25A3 #A33B25 #4EA325 #258DA3
split-complementary
#7A25A3 #8DA325 #25A33B
monochromatic
#2F0E3F #551A71 #7A25A3 #9E34D1 #B666DC

Accessibility & contrast

On white

8.01
#7A25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7A25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25A3
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25A3#FFFFFF#000000##FFFFFF
##7A25A31.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0D52A0
Tritanopia (blue-blind)
#754363
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a25a3;
/* rgb */ color: rgb(122, 37, 163);
/* oklch */ color: oklch(45.8% 0.194 311.8);
Tailwind
colors: {
  custom: {
    50: '#a569bf',
    500: '#7a25a3',
    950: '#000000',
  },
}
SCSS
$custom: #7a25a3;
$custom-light: #a569bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25a3",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 280.476,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45773,
    "c": 0.1935,
    "h": 311.8
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#7A25A3
secondary
#81C262
accent
#E64277
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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