#7A25A9#7A25A9

#7A25A9 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.2% C 0.199 H 309.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7A25A9
RGBrgb(122, 37, 169)
HSLhsl(279, 64%, 40%)
HSVhsv(279, 78%, 66%)
CMYKcmyk(27.8%, 78.1%, 0%, 33.7%)
CIE-LABlab(34.65, 56.87, -53.85)
CIE-LCHlch(34.65, 78.32, 316.56°)
OKLaboklab(46.23% 0.1277 -0.1528)
OKLCHoklch(46.23% 0.199 309.9)
XYZxyz(15.8476, 8.3256, 38.3006)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25A9 #54A925
analogous
#3825A9 #7A25A9 #A92596
triadic
#7A25A9 #A97A25 #25A97A
tetradic
#7A25A9 #A93825 #54A925 #2596A9
square
#7A25A9 #A93825 #54A925 #2596A9
split-complementary
#7A25A9 #96A925 #25A938
monochromatic
#320F45 #561A77 #7A25A9 #9C38D3 #B56ADE

Accessibility & contrast

On white

7.88
#7A25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7A25A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25A9
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25A9#FFFFFF#000000##FFFFFF
##7A25A91.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#734667
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a25a9;
/* rgb */ color: rgb(122, 37, 169);
/* oklch */ color: oklch(46.2% 0.199 309.9);
Tailwind
colors: {
  custom: {
    50: '#a56ac3',
    500: '#7a25a9',
    950: '#000000',
  },
}
SCSS
$custom: #7a25a9;
$custom-light: #a56ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25a9",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 278.636,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.19911,
    "h": 309.9
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#7A25A9
secondary
#87C465
accent
#E7417C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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