#7C25A9#7C25A9

#7C25A9 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.200 H 310.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7C25A9
RGBrgb(124, 37, 169)
HSLhsl(280, 64%, 40%)
HSVhsv(280, 78%, 66%)
CMYKcmyk(26.6%, 78.1%, 0%, 33.7%)
CIE-LABlab(34.95, 57.23, -53.35)
CIE-LCHlch(34.95, 78.25, 317.01°)
OKLaboklab(46.5% 0.1304 -0.1512)
OKLCHoklch(46.5% 0.2 310.8)
XYZxyz(16.1338, 8.4732, 38.3140)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C25A9 #52A925
analogous
#3A25A9 #7C25A9 #A92594
triadic
#7C25A9 #A97C25 #25A97C
tetradic
#7C25A9 #A93A25 #52A925 #2594A9
square
#7C25A9 #A93A25 #52A925 #2594A9
split-complementary
#7C25A9 #94A925 #25A93A
monochromatic
#320F45 #571A77 #7C25A9 #9E38D3 #B76ADE

Accessibility & contrast

On white

7.79
#7C25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C25A9
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C25A9#FFFFFF#000000##FFFFFF
##7C25A91.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0054A6
Tritanopia (blue-blind)
#764567
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c25a9;
/* rgb */ color: rgb(124, 37, 169);
/* oklch */ color: oklch(46.5% 0.200 310.8);
Tailwind
colors: {
  custom: {
    50: '#a76ac3',
    500: '#7c25a9',
    950: '#000000',
  },
}
SCSS
$custom: #7c25a9;
$custom-light: #a76ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c25a9",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 279.545,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46502,
    "c": 0.1997,
    "h": 310.8
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#7C25A9
secondary
#86C465
accent
#E74179
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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