#7F25AC#7F25AC

#7F25AC is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.1% C 0.203 H 311.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7F25AC
RGBrgb(127, 37, 172)
HSLhsl(280, 65%, 41%)
HSVhsv(280, 78%, 67%)
CMYKcmyk(26.2%, 78.5%, 0%, 32.5%)
CIE-LABlab(35.62, 58.41, -54.04)
CIE-LCHlch(35.62, 79.57, 317.23°)
OKLaboklab(47.14% 0.1338 -0.1531)
OKLCHoklch(47.14% 0.203 311.1)
XYZxyz(16.8589, 8.8141, 39.8349)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F25AC #52AC25
analogous
#3B25AC #7F25AC #AC2595
triadic
#7F25AC #AC7F25 #25AC7F
tetradic
#7F25AC #AC3B25 #52AC25 #2595AC
square
#7F25AC #AC3B25 #52AC25 #2595AC
split-complementary
#7F25AC #95AC25 #25AC3B
monochromatic
#350F47 #5A1A7A #7F25AC #A13AD5 #B96CDF

Accessibility & contrast

On white

7.60
#7F25AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7F25AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F25AC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F25AC#FFFFFF#000000##FFFFFF
##7F25AC1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#794668
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f25ac;
/* rgb */ color: rgb(127, 37, 172);
/* oklch */ color: oklch(47.1% 0.203 311.1);
Tailwind
colors: {
  custom: {
    50: '#a96ac6',
    500: '#7f25ac',
    950: '#000000',
  },
}
SCSS
$custom: #7f25ac;
$custom-light: #a96ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f25ac",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 280,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47138,
    "c": 0.20337,
    "h": 311.1
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#7F25AC
secondary
#87C667
accent
#E84078
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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