#7C25A2#7C25A2

#7C25A2 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.193 H 313.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7C25A2
RGBrgb(124, 37, 162)
HSLhsl(282, 63%, 39%)
HSVhsv(282, 77%, 64%)
CMYKcmyk(23.5%, 77.2%, 0%, 36.5%)
CIE-LABlab(34.43, 55.76, -49.98)
CIE-LCHlch(34.43, 74.88, 318.13°)
OKLaboklab(45.97% 0.1317 -0.1413)
OKLCHoklch(45.97% 0.193 313)
XYZxyz(15.4942, 8.2173, 34.9453)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C25A2 #4BA225
analogous
#3E25A2 #7C25A2 #A2258A
triadic
#7C25A2 #A27C25 #25A27C
tetradic
#7C25A2 #A23E25 #4BA225 #258AA2
square
#7C25A2 #A23E25 #4BA225 #258AA2
split-complementary
#7C25A2 #8AA225 #25A23E
monochromatic
#300E3E #561A70 #7C25A2 #A134D1 #B865DC

Accessibility & contrast

On white

7.94
#7C25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7C25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C25A2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C25A2#FFFFFF#000000##FFFFFF
##7C25A21.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#15539F
Tritanopia (blue-blind)
#784263
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c25a2;
/* rgb */ color: rgb(124, 37, 162);
/* oklch */ color: oklch(46.0% 0.193 313.0);
Tailwind
colors: {
  custom: {
    50: '#a66abe',
    500: '#7c25a2',
    950: '#000000',
  },
}
SCSS
$custom: #7c25a2;
$custom-light: #a66abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c25a2",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 281.76,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45974,
    "c": 0.19322,
    "h": 313
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#7C25A2
secondary
#7FC261
accent
#E64274
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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