#7C25A7#7C25A7

#7C25A7 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.198 H 311.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7C25A7
RGBrgb(124, 37, 167)
HSLhsl(280, 64%, 40%)
HSVhsv(280, 78%, 65%)
CMYKcmyk(25.7%, 77.8%, 0%, 34.5%)
CIE-LABlab(34.80, 56.81, -52.40)
CIE-LCHlch(34.80, 77.28, 317.31°)
OKLaboklab(46.35% 0.1308 -0.1484)
OKLCHoklch(46.35% 0.198 311.4)
XYZxyz(15.9475, 8.3987, 37.3327)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C25A7 #50A725
analogous
#3B25A7 #7C25A7 #A72591
triadic
#7C25A7 #A77C25 #25A77C
tetradic
#7C25A7 #A73B25 #50A725 #2591A7
square
#7C25A7 #A73B25 #50A725 #2591A7
split-complementary
#7C25A7 #91A725 #25A73B
monochromatic
#320F43 #571A75 #7C25A7 #9F37D3 #B769DE

Accessibility & contrast

On white

7.84
#7C25A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7C25A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C25A7
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C25A7#FFFFFF#000000##FFFFFF
##7C25A71.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0653A4
Tritanopia (blue-blind)
#764465
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c25a7;
/* rgb */ color: rgb(124, 37, 167);
/* oklch */ color: oklch(46.3% 0.198 311.4);
Tailwind
colors: {
  custom: {
    50: '#a76ac2',
    500: '#7c25a7',
    950: '#000000',
  },
}
SCSS
$custom: #7c25a7;
$custom-light: #a76ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c25a7",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 280.154,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.46349,
    "c": 0.19784,
    "h": 311.4
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#7C25A7
secondary
#84C464
accent
#E74178
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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