#7D25A9#7D25A9

#7D25A9 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.6% C 0.200 H 311.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7D25A9
RGBrgb(125, 37, 169)
HSLhsl(280, 64%, 40%)
HSVhsv(280, 78%, 66%)
CMYKcmyk(26%, 78.1%, 0%, 33.7%)
CIE-LABlab(35.10, 57.42, -53.10)
CIE-LCHlch(35.10, 78.21, 317.24°)
OKLaboklab(46.64% 0.1317 -0.1505)
OKLCHoklch(46.64% 0.2 311.2)
XYZxyz(16.2791, 8.5481, 38.3208)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25A9 #51A925
analogous
#3B25A9 #7D25A9 #A92593
triadic
#7D25A9 #A97D25 #25A97D
tetradic
#7D25A9 #A93B25 #51A925 #2593A9
square
#7D25A9 #A93B25 #51A925 #2593A9
split-complementary
#7D25A9 #93A925 #25A93B
monochromatic
#330F45 #581A77 #7D25A9 #A038D3 #B86ADE

Accessibility & contrast

On white

7.75
#7D25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7D25A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D25A9
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D25A9#FFFFFF#000000##FFFFFF
##7D25A91.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0354A6
Tritanopia (blue-blind)
#774567
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d25a9;
/* rgb */ color: rgb(125, 37, 169);
/* oklch */ color: oklch(46.6% 0.200 311.2);
Tailwind
colors: {
  custom: {
    50: '#a76ac3',
    500: '#7d25a9',
    950: '#000000',
  },
}
SCSS
$custom: #7d25a9;
$custom-light: #a76ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25a9",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 280,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46637,
    "c": 0.2,
    "h": 311.2
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#7D25A9
secondary
#85C465
accent
#E74178
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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