#7A25AA#7A25AA

#7A25AA is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.200 H 309.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7A25AA
RGBrgb(122, 37, 170)
HSLhsl(278, 64%, 41%)
HSVhsv(278, 78%, 67%)
CMYKcmyk(28.2%, 78.2%, 0%, 33.3%)
CIE-LABlab(34.73, 57.09, -54.33)
CIE-LCHlch(34.73, 78.80, 316.42°)
OKLaboklab(46.31% 0.1275 -0.1542)
OKLCHoklch(46.31% 0.2 309.6)
XYZxyz(15.9418, 8.3633, 38.7969)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25AA #55AA25
analogous
#3825AA #7A25AA #AA2597
triadic
#7A25AA #AA7A25 #25AA7A
tetradic
#7A25AA #AA3825 #55AA25 #2597AA
square
#7A25AA #AA3825 #55AA25 #2597AA
split-complementary
#7A25AA #97AA25 #25AA38
monochromatic
#320F45 #561A78 #7A25AA #9C38D4 #B56BDF

Accessibility & contrast

On white

7.86
#7A25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A25AA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25AA#FFFFFF#000000##FFFFFF
##7A25AA1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#734667
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a25aa;
/* rgb */ color: rgb(122, 37, 170);
/* oklch */ color: oklch(46.3% 0.200 309.6);
Tailwind
colors: {
  custom: {
    50: '#a56ac4',
    500: '#7a25aa',
    950: '#000000',
  },
}
SCSS
$custom: #7a25aa;
$custom-light: #a56ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25aa",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 278.346,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46309,
    "c": 0.20005,
    "h": 309.6
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#7A25AA
secondary
#88C566
accent
#E7417D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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