#7A25A7#7A25A7

#7A25A7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.197 H 310.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7A25A7
RGBrgb(122, 37, 167)
HSLhsl(279, 64%, 40%)
HSVhsv(279, 78%, 65%)
CMYKcmyk(26.9%, 77.8%, 0%, 34.5%)
CIE-LABlab(34.50, 56.44, -52.90)
CIE-LCHlch(34.50, 77.35, 316.86°)
OKLaboklab(46.08% 0.1281 -0.15)
OKLCHoklch(46.08% 0.197 310.5)
XYZxyz(15.6613, 8.2511, 37.3193)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25A7 #52A725
analogous
#3925A7 #7A25A7 #A72593
triadic
#7A25A7 #A77A25 #25A77A
tetradic
#7A25A7 #A73925 #52A725 #2593A7
square
#7A25A7 #A73925 #52A725 #2593A7
split-complementary
#7A25A7 #93A725 #25A739
monochromatic
#310F43 #551A75 #7A25A7 #9D37D3 #B569DE

Accessibility & contrast

On white

7.92
#7A25A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7A25A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25A7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25A7#FFFFFF#000000##FFFFFF
##7A25A71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#744565
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a25a7;
/* rgb */ color: rgb(122, 37, 167);
/* oklch */ color: oklch(46.1% 0.197 310.5);
Tailwind
colors: {
  custom: {
    50: '#a56ac2',
    500: '#7a25a7',
    950: '#000000',
  },
}
SCSS
$custom: #7a25a7;
$custom-light: #a56ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25a7",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 279.231,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.19724,
    "h": 310.5
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#7A25A7
secondary
#85C464
accent
#E7417A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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