#7D25A3#7D25A3

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

Color values

HEX#7D25A3
RGBrgb(125, 37, 163)
HSLhsl(282, 63%, 39%)
HSVhsv(282, 77%, 64%)
CMYKcmyk(23.3%, 77.3%, 0%, 36.1%)
CIE-LABlab(34.66, 56.16, -50.21)
CIE-LCHlch(34.66, 75.33, 318.20°)
OKLaboklab(46.19% 0.1329 -0.142)
OKLCHoklch(46.19% 0.194 313.1)
XYZxyz(15.7287, 8.3279, 35.4221)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25A3 #4BA325
analogous
#3E25A3 #7D25A3 #A3258A
triadic
#7D25A3 #A37D25 #25A37D
tetradic
#7D25A3 #A33E25 #4BA325 #258AA3
square
#7D25A3 #A33E25 #4BA325 #258AA3
split-complementary
#7D25A3 #8AA325 #25A33E
monochromatic
#310E3F #571A71 #7D25A3 #A234D1 #B966DC

Accessibility & contrast

On white

7.88
#7D25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7D25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D25A3
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D25A3#FFFFFF#000000##FFFFFF
##7D25A31.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d25a3;
/* rgb */ color: rgb(125, 37, 163);
/* oklch */ color: oklch(46.2% 0.194 313.1);
Tailwind
colors: {
  custom: {
    50: '#a76abf',
    500: '#7d25a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d25a3;
$custom-light: #a76abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25a3",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 281.905,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46187,
    "c": 0.19446,
    "h": 313.1
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#7D25A3
secondary
#7FC262
accent
#E64273
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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