#7F25AE#7F25AE

#7F25AE is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.205 H 310.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7F25AE
RGBrgb(127, 37, 174)
HSLhsl(279, 65%, 41%)
HSVhsv(279, 79%, 68%)
CMYKcmyk(27%, 78.7%, 0%, 31.8%)
CIE-LABlab(35.77, 58.84, -54.99)
CIE-LCHlch(35.77, 80.53, 316.94°)
OKLaboklab(47.29% 0.1334 -0.1559)
OKLCHoklch(47.29% 0.205 310.5)
XYZxyz(17.0525, 8.8916, 40.8541)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F25AE #54AE25
analogous
#3B25AE #7F25AE #AE2599
triadic
#7F25AE #AE7F25 #25AE7F
tetradic
#7F25AE #AE3B25 #54AE25 #2599AE
square
#7F25AE #AE3B25 #54AE25 #2599AE
split-complementary
#7F25AE #99AE25 #25AE3B
monochromatic
#351049 #5A1A7C #7F25AE #A03BD5 #B96DE0

Accessibility & contrast

On white

7.56
#7F25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7F25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F25AE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F25AE#FFFFFF#000000##FFFFFF
##7F25AE1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#784769
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f25ae;
/* rgb */ color: rgb(127, 37, 174);
/* oklch */ color: oklch(47.3% 0.205 310.5);
Tailwind
colors: {
  custom: {
    50: '#a96ac7',
    500: '#7f25ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f25ae;
$custom-light: #a96ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f25ae",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 279.416,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47291,
    "c": 0.20519,
    "h": 310.5
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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