#7C25AA#7C25AA

#7C25AA is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.201 H 310.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7C25AA
RGBrgb(124, 37, 170)
HSLhsl(279, 64%, 41%)
HSVhsv(279, 78%, 67%)
CMYKcmyk(27.1%, 78.2%, 0%, 33.3%)
CIE-LABlab(35.02, 57.45, -53.83)
CIE-LCHlch(35.02, 78.73, 316.86°)
OKLaboklab(46.58% 0.1302 -0.1526)
OKLCHoklch(46.58% 0.201 310.5)
XYZxyz(16.2280, 8.5109, 38.8103)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C25AA #53AA25
analogous
#3925AA #7C25AA #AA2595
triadic
#7C25AA #AA7C25 #25AA7C
tetradic
#7C25AA #AA3925 #53AA25 #2595AA
square
#7C25AA #AA3925 #53AA25 #2595AA
split-complementary
#7C25AA #95AA25 #25AA39
monochromatic
#330F45 #571A78 #7C25AA #9E38D4 #B76BDF

Accessibility & contrast

On white

7.77
#7C25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7C25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C25AA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C25AA#FFFFFF#000000##FFFFFF
##7C25AA1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#764667
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c25aa;
/* rgb */ color: rgb(124, 37, 170);
/* oklch */ color: oklch(46.6% 0.201 310.5);
Tailwind
colors: {
  custom: {
    50: '#a76ac4',
    500: '#7c25aa',
    950: '#000000',
  },
}
SCSS
$custom: #7c25aa;
$custom-light: #a76ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c25aa",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 279.248,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46578,
    "c": 0.20063,
    "h": 310.5
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#7C25AA
secondary
#87C566
accent
#E7417A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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