#7D25AA#7D25AA

#7D25AA is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.201 H 310.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7D25AA
RGBrgb(125, 37, 170)
HSLhsl(280, 64%, 41%)
HSVhsv(280, 78%, 67%)
CMYKcmyk(26.5%, 78.2%, 0%, 33.3%)
CIE-LABlab(35.17, 57.63, -53.58)
CIE-LCHlch(35.17, 78.69, 317.08°)
OKLaboklab(46.71% 0.1315 -0.1519)
OKLCHoklch(46.71% 0.201 310.9)
XYZxyz(16.3733, 8.5858, 38.8171)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25AA #52AA25
analogous
#3A25AA #7D25AA #AA2594
triadic
#7D25AA #AA7D25 #25AA7D
tetradic
#7D25AA #AA3A25 #52AA25 #2594AA
square
#7D25AA #AA3A25 #52AA25 #2594AA
split-complementary
#7D25AA #94AA25 #25AA3A
monochromatic
#330F45 #581A78 #7D25AA #9F38D4 #B76BDF

Accessibility & contrast

On white

7.73
#7D25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7D25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D25AA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D25AA#FFFFFF#000000##FFFFFF
##7D25AA1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d25aa;
/* rgb */ color: rgb(125, 37, 170);
/* oklch */ color: oklch(46.7% 0.201 310.9);
Tailwind
colors: {
  custom: {
    50: '#a76ac4',
    500: '#7d25aa',
    950: '#000000',
  },
}
SCSS
$custom: #7d25aa;
$custom-light: #a76ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25aa",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 279.699,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.20092,
    "h": 310.9
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#7D25AA
secondary
#86C566
accent
#E74179
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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