#7D25A8#7D25A8

#7D25A8 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.199 H 311.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7D25A8
RGBrgb(125, 37, 168)
HSLhsl(280, 64%, 40%)
HSVhsv(280, 78%, 66%)
CMYKcmyk(25.6%, 78%, 0%, 34.1%)
CIE-LABlab(35.02, 57.21, -52.63)
CIE-LCHlch(35.02, 77.73, 317.39°)
OKLaboklab(46.56% 0.1319 -0.1491)
OKLCHoklch(46.56% 0.199 311.5)
XYZxyz(16.1856, 8.5107, 37.8283)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25A8 #50A825
analogous
#3B25A8 #7D25A8 #A82592
triadic
#7D25A8 #A87D25 #25A87D
tetradic
#7D25A8 #A83B25 #50A825 #2592A8
square
#7D25A8 #A83B25 #50A825 #2592A8
split-complementary
#7D25A8 #92A825 #25A83B
monochromatic
#320F44 #581A76 #7D25A8 #A037D3 #B869DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D25A8#FFFFFF#000000##FFFFFF
##7D25A81.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)
#004EAC
Deuteranopia (green-blind)
#0754A5
Tritanopia (blue-blind)
#774566
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d25a8;
/* rgb */ color: rgb(125, 37, 168);
/* oklch */ color: oklch(46.6% 0.199 311.5);
Tailwind
colors: {
  custom: {
    50: '#a76ac3',
    500: '#7d25a8',
    950: '#000000',
  },
}
SCSS
$custom: #7d25a8;
$custom-light: #a76ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25a8",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 280.305,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46561,
    "c": 0.19907,
    "h": 311.5
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#7D25A8
secondary
#84C465
accent
#E74177
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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