#7A25A5#7A25A5

#7A25A5 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.195 H 311.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7A25A5
RGBrgb(122, 37, 165)
HSLhsl(280, 63%, 40%)
HSVhsv(280, 78%, 65%)
CMYKcmyk(26.1%, 77.6%, 0%, 35.3%)
CIE-LABlab(34.35, 56.01, -51.94)
CIE-LCHlch(34.35, 76.39, 317.16°)
OKLaboklab(45.92% 0.1285 -0.1471)
OKLCHoklch(45.92% 0.195 311.1)
XYZxyz(15.4778, 8.1777, 36.3531)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25A5 #50A525
analogous
#3A25A5 #7A25A5 #A52590
triadic
#7A25A5 #A57A25 #25A57A
tetradic
#7A25A5 #A53A25 #50A525 #2590A5
square
#7A25A5 #A53A25 #50A525 #2590A5
split-complementary
#7A25A5 #90A525 #25A53A
monochromatic
#300F41 #551A73 #7A25A5 #9D35D2 #B567DD

Accessibility & contrast

On white

7.97
#7A25A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7A25A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25A5
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25A5#FFFFFF#000000##FFFFFF
##7A25A51.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0552A2
Tritanopia (blue-blind)
#744464
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a25a5;
/* rgb */ color: rgb(122, 37, 165);
/* oklch */ color: oklch(45.9% 0.195 311.1);
Tailwind
colors: {
  custom: {
    50: '#a569c0',
    500: '#7a25a5',
    950: '#000000',
  },
}
SCSS
$custom: #7a25a5;
$custom-light: #a569c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25a5",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 279.844,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.19537,
    "h": 311.1
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#7A25A5
secondary
#83C363
accent
#E64179
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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