#7A25AC#7A25AC

#7A25AC is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.202 H 309.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7A25AC
RGBrgb(122, 37, 172)
HSLhsl(278, 65%, 41%)
HSVhsv(278, 78%, 67%)
CMYKcmyk(29.1%, 78.5%, 0%, 32.5%)
CIE-LABlab(34.88, 57.52, -55.27)
CIE-LCHlch(34.88, 79.77, 316.14°)
OKLaboklab(46.47% 0.127 -0.157)
OKLCHoklch(46.47% 0.202 309)
XYZxyz(16.1325, 8.4396, 39.8009)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25AC #57AC25
analogous
#3725AC #7A25AC #AC259A
triadic
#7A25AC #AC7A25 #25AC7A
tetradic
#7A25AC #AC3725 #57AC25 #259AAC
square
#7A25AC #AC3725 #57AC25 #259AAC
split-complementary
#7A25AC #9AAC25 #25AC37
monochromatic
#330F47 #561A7A #7A25AC #9B3AD5 #B56CDF

Accessibility & contrast

On white

7.81
#7A25AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7A25AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25AC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25AC#FFFFFF#000000##FFFFFF
##7A25AC1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#724768
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a25ac;
/* rgb */ color: rgb(122, 37, 172);
/* oklch */ color: oklch(46.5% 0.202 309.0);
Tailwind
colors: {
  custom: {
    50: '#a66ac6',
    500: '#7a25ac',
    950: '#000000',
  },
}
SCSS
$custom: #7a25ac;
$custom-light: #a66ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25ac",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 277.778,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46465,
    "c": 0.20192,
    "h": 309
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#7A25AC
secondary
#8AC667
accent
#E8407E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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