#7F25AF#7F25AF

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

Color values

HEX#7F25AF
RGBrgb(127, 37, 175)
HSLhsl(279, 65%, 42%)
HSVhsv(279, 79%, 69%)
CMYKcmyk(27.4%, 78.9%, 0%, 31.4%)
CIE-LABlab(35.85, 59.05, -55.46)
CIE-LCHlch(35.85, 81.01, 316.80°)
OKLaboklab(47.37% 0.1332 -0.1573)
OKLCHoklch(47.37% 0.206 310.2)
XYZxyz(17.1503, 8.9307, 41.3695)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F25AF #55AF25
analogous
#3A25AF #7F25AF #AF259A
triadic
#7F25AF #AF7F25 #25AF7F
tetradic
#7F25AF #AF3A25 #55AF25 #259AAF
square
#7F25AF #AF3A25 #55AF25 #259AAF
split-complementary
#7F25AF #9AAF25 #25AF3A
monochromatic
#36104A #5A1A7C #7F25AF #A03CD6 #B96EE0

Accessibility & contrast

On white

7.54
#7F25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7F25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F25AF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F25AF#FFFFFF#000000##FFFFFF
##7F25AF1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#78476A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f25af;
/* rgb */ color: rgb(127, 37, 175);
/* oklch */ color: oklch(47.4% 0.206 310.2);
Tailwind
colors: {
  custom: {
    50: '#a96bc8',
    500: '#7f25af',
    950: '#000000',
  },
}
SCSS
$custom: #7f25af;
$custom-light: #a96bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f25af",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 279.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47368,
    "c": 0.20612,
    "h": 310.2
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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