#7F25A3#7F25A3

#7F25A3 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.195 H 314.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7F25A3
RGBrgb(127, 37, 163)
HSLhsl(283, 63%, 39%)
HSVhsv(283, 77%, 64%)
CMYKcmyk(22.1%, 77.3%, 0%, 36.1%)
CIE-LABlab(34.96, 56.54, -49.70)
CIE-LCHlch(34.96, 75.28, 318.68°)
OKLaboklab(46.47% 0.1355 -0.1404)
OKLCHoklch(46.47% 0.195 314)
XYZxyz(16.0237, 8.4800, 35.4360)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F25A3 #49A325
analogous
#4025A3 #7F25A3 #A32588
triadic
#7F25A3 #A37F25 #25A37F
tetradic
#7F25A3 #A34025 #49A325 #2588A3
square
#7F25A3 #A34025 #49A325 #2588A3
split-complementary
#7F25A3 #88A325 #25A340
monochromatic
#310E3F #581A71 #7F25A3 #A434D1 #BB66DC

Accessibility & contrast

On white

7.79
#7F25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7F25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F25A3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F25A3#FFFFFF#000000##FFFFFF
##7F25A31.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#1A54A0
Tritanopia (blue-blind)
#7B4263
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7f25a3;
/* rgb */ color: rgb(127, 37, 163);
/* oklch */ color: oklch(46.5% 0.195 314.0);
Tailwind
colors: {
  custom: {
    50: '#a86abf',
    500: '#7f25a3',
    950: '#000000',
  },
}
SCSS
$custom: #7f25a3;
$custom-light: #a86abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f25a3",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 282.857,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46465,
    "c": 0.19514,
    "h": 314
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#7F25A3
secondary
#7DC262
accent
#E64271
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7F25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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