#7D25AD#7D25AD

#7D25AD is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.204 H 310.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7D25AD
RGBrgb(125, 37, 173)
HSLhsl(279, 65%, 41%)
HSVhsv(279, 79%, 68%)
CMYKcmyk(27.7%, 78.6%, 0%, 32.2%)
CIE-LABlab(35.40, 58.27, -55.01)
CIE-LCHlch(35.40, 80.13, 316.65°)
OKLaboklab(46.94% 0.1309 -0.1561)
OKLCHoklch(46.94% 0.204 310)
XYZxyz(16.6603, 8.7006, 40.3288)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25AD #55AD25
analogous
#3925AD #7D25AD #AD2599
triadic
#7D25AD #AD7D25 #25AD7D
tetradic
#7D25AD #AD3925 #55AD25 #2599AD
square
#7D25AD #AD3925 #55AD25 #2599AD
split-complementary
#7D25AD #99AD25 #25AD39
monochromatic
#340F48 #591A7B #7D25AD #9E3AD5 #B76DE0

Accessibility & contrast

On white

7.66
#7D25AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7D25AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D25AD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D25AD#FFFFFF#000000##FFFFFF
##7D25AD1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#764769
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d25ad;
/* rgb */ color: rgb(125, 37, 173);
/* oklch */ color: oklch(46.9% 0.204 310.0);
Tailwind
colors: {
  custom: {
    50: '#a86ac6',
    500: '#7d25ad',
    950: '#000000',
  },
}
SCSS
$custom: #7d25ad;
$custom-light: #a86ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25ad",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 278.824,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46944,
    "c": 0.2037,
    "h": 310
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#7D25AD
secondary
#89C668
accent
#E8407B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D25AD

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

Preview Lab → · Contrast checker → · Palette generator →

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