#7E25AF#7E25AF

#7E25AF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.206 H 309.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#7E25AF
RGBrgb(126, 37, 175)
HSLhsl(279, 65%, 42%)
HSVhsv(279, 79%, 69%)
CMYKcmyk(28%, 78.9%, 0%, 31.4%)
CIE-LABlab(35.70, 58.87, -55.71)
CIE-LCHlch(35.70, 81.05, 316.58°)
OKLaboklab(47.23% 0.1318 -0.1581)
OKLCHoklch(47.23% 0.206 309.8)
XYZxyz(17.0021, 8.8543, 41.3625)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E25AF #56AF25
analogous
#3925AF #7E25AF #AF259B
triadic
#7E25AF #AF7E25 #25AF7E
tetradic
#7E25AF #AF3925 #56AF25 #259BAF
square
#7E25AF #AF3925 #56AF25 #259BAF
split-complementary
#7E25AF #9BAF25 #25AF39
monochromatic
#35104A #5A1A7C #7E25AF #9F3CD6 #B86EE0

Accessibility & contrast

On white

7.58
#7E25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7E25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E25AF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E25AF#FFFFFF#000000##FFFFFF
##7E25AF1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#77486A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7e25af;
/* rgb */ color: rgb(126, 37, 175);
/* oklch */ color: oklch(47.2% 0.206 309.8);
Tailwind
colors: {
  custom: {
    50: '#a86ac8',
    500: '#7e25af',
    950: '#000000',
  },
}
SCSS
$custom: #7e25af;
$custom-light: #a86ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e25af",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 278.696,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47234,
    "c": 0.20583,
    "h": 309.8
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#7E25AF
secondary
#8AC769
accent
#E8407C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7E25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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