#7C25A3#7C25A3

#7C25A3 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.194 H 312.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7C25A3
RGBrgb(124, 37, 163)
HSLhsl(281, 63%, 39%)
HSVhsv(281, 77%, 64%)
CMYKcmyk(23.9%, 77.3%, 0%, 36.1%)
CIE-LABlab(34.50, 55.97, -50.47)
CIE-LCHlch(34.50, 75.36, 317.96°)
OKLaboklab(46.05% 0.1316 -0.1428)
OKLCHoklch(46.05% 0.194 312.7)
XYZxyz(15.5834, 8.2530, 35.4153)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C25A3 #4CA325
analogous
#3D25A3 #7C25A3 #A3258B
triadic
#7C25A3 #A37C25 #25A37C
tetradic
#7C25A3 #A33D25 #4CA325 #258BA3
square
#7C25A3 #A33D25 #4CA325 #258BA3
split-complementary
#7C25A3 #8BA325 #25A33D
monochromatic
#300E3F #561A71 #7C25A3 #A034D1 #B866DC

Accessibility & contrast

On white

7.92
#7C25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7C25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C25A3
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C25A3#FFFFFF#000000##FFFFFF
##7C25A31.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#1353A0
Tritanopia (blue-blind)
#784363
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c25a3;
/* rgb */ color: rgb(124, 37, 163);
/* oklch */ color: oklch(46.0% 0.194 312.7);
Tailwind
colors: {
  custom: {
    50: '#a66abf',
    500: '#7c25a3',
    950: '#000000',
  },
}
SCSS
$custom: #7c25a3;
$custom-light: #a66abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c25a3",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 281.429,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.19414,
    "h": 312.7
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#7C25A3
secondary
#80C262
accent
#E64275
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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