#7C25A8#7C25A8

#7C25A8 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.4% C 0.199 H 311.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7C25A8
RGBrgb(124, 37, 168)
HSLhsl(280, 64%, 40%)
HSVhsv(280, 78%, 66%)
CMYKcmyk(26.2%, 78%, 0%, 34.1%)
CIE-LABlab(34.87, 57.02, -52.88)
CIE-LCHlch(34.87, 77.77, 317.16°)
OKLaboklab(46.43% 0.1306 -0.1498)
OKLCHoklch(46.43% 0.199 311.1)
XYZxyz(16.0403, 8.4358, 37.8215)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C25A8 #51A825
analogous
#3A25A8 #7C25A8 #A82593
triadic
#7C25A8 #A87C25 #25A87C
tetradic
#7C25A8 #A83A25 #51A825 #2593A8
square
#7C25A8 #A83A25 #51A825 #2593A8
split-complementary
#7C25A8 #93A825 #25A83A
monochromatic
#320F44 #571A76 #7C25A8 #9F37D3 #B769DE

Accessibility & contrast

On white

7.82
#7C25A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C25A8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C25A8#FFFFFF#000000##FFFFFF
##7C25A81.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0253A5
Tritanopia (blue-blind)
#764566
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c25a8;
/* rgb */ color: rgb(124, 37, 168);
/* oklch */ color: oklch(46.4% 0.199 311.1);
Tailwind
colors: {
  custom: {
    50: '#a76ac3',
    500: '#7c25a8',
    950: '#000000',
  },
}
SCSS
$custom: #7c25a8;
$custom-light: #a76ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c25a8",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 279.847,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.19877,
    "h": 311.1
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#7C25A8
secondary
#85C465
accent
#E74179
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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