#7A25AE#7A25AE

#7A25AE is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.204 H 308.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7A25AE
RGBrgb(122, 37, 174)
HSLhsl(277, 65%, 41%)
HSVhsv(277, 79%, 68%)
CMYKcmyk(29.9%, 78.7%, 0%, 31.8%)
CIE-LABlab(35.04, 57.95, -56.22)
CIE-LCHlch(35.04, 80.74, 315.87°)
OKLaboklab(46.62% 0.1266 -0.1597)
OKLCHoklch(46.62% 0.204 308.4)
XYZxyz(16.3260, 8.5170, 40.8201)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25AE #59AE25
analogous
#3525AE #7A25AE #AE259E
triadic
#7A25AE #AE7A25 #25AE7A
tetradic
#7A25AE #AE3525 #59AE25 #259EAE
square
#7A25AE #AE3525 #59AE25 #259EAE
split-complementary
#7A25AE #9EAE25 #25AE35
monochromatic
#331049 #571A7C #7A25AE #9B3BD5 #B56DE0

Accessibility & contrast

On white

7.77
#7A25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7A25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25AE
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25AE#FFFFFF#000000##FFFFFF
##7A25AE1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#724869
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a25ae;
/* rgb */ color: rgb(122, 37, 174);
/* oklch */ color: oklch(46.6% 0.204 308.4);
Tailwind
colors: {
  custom: {
    50: '#a66ac7',
    500: '#7a25ae',
    950: '#000000',
  },
}
SCSS
$custom: #7a25ae;
$custom-light: #a66ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25ae",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 277.226,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46622,
    "c": 0.2038,
    "h": 308.4
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#7A25AE
secondary
#8CC668
accent
#E84080
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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