#7F25AA#7F25AA

#7F25AA is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.0% C 0.202 H 311.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7F25AA
RGBrgb(127, 37, 170)
HSLhsl(281, 64%, 41%)
HSVhsv(281, 78%, 67%)
CMYKcmyk(25.3%, 78.2%, 0%, 33.3%)
CIE-LABlab(35.47, 57.99, -53.08)
CIE-LCHlch(35.47, 78.62, 317.53°)
OKLaboklab(46.99% 0.1342 -0.1503)
OKLCHoklch(46.99% 0.202 311.8)
XYZxyz(16.6683, 8.7379, 38.8309)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F25AA #50AA25
analogous
#3D25AA #7F25AA #AA2592
triadic
#7F25AA #AA7F25 #25AA7F
tetradic
#7F25AA #AA3D25 #50AA25 #2592AA
square
#7F25AA #AA3D25 #50AA25 #2592AA
split-complementary
#7F25AA #92AA25 #25AA3D
monochromatic
#340F45 #591A78 #7F25AA #A238D4 #B96BDF

Accessibility & contrast

On white

7.64
#7F25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7F25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F25AA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F25AA#FFFFFF#000000##FFFFFF
##7F25AA1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0755A7
Tritanopia (blue-blind)
#7A4567
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7f25aa;
/* rgb */ color: rgb(127, 37, 170);
/* oklch */ color: oklch(47.0% 0.202 311.8);
Tailwind
colors: {
  custom: {
    50: '#a96ac4',
    500: '#7f25aa',
    950: '#000000',
  },
}
SCSS
$custom: #7f25aa;
$custom-light: #a96ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f25aa",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 280.602,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46986,
    "c": 0.20153,
    "h": 311.8
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#7F25AA
secondary
#85C566
accent
#E74176
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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