#7F1FAE#7F1FAE

#7F1FAE is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.8% C 0.211 H 310.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7F1FAE
RGBrgb(127, 31, 174)
HSLhsl(280, 70%, 40%)
HSVhsv(280, 82%, 68%)
CMYKcmyk(27%, 82.2%, 0%, 31.8%)
CIE-LABlab(35.10, 60.80, -56.08)
CIE-LCHlch(35.10, 82.71, 317.31°)
OKLaboklab(46.82% 0.138 -0.1591)
OKLCHoklch(46.82% 0.211 310.9)
XYZxyz(16.8809, 8.5484, 40.7969)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1FAE #4EAE1F
analogous
#381FAE #7F1FAE #AE1F95
triadic
#7F1FAE #AE7F1F #1FAE7F
tetradic
#7F1FAE #AE381F #4EAE1F #1F95AE
square
#7F1FAE #AE381F #4EAE1F #1F95AE
split-complementary
#7F1FAE #95AE1F #1FAE38
monochromatic
#330C46 #59167A #7F1FAE #A230DA #BA64E3

Accessibility & contrast

On white

7.75
#7F1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7F1FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1FAE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1FAE#FFFFFF#000000##FFFFFF
##7F1FAE1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#794468
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7f1fae;
/* rgb */ color: rgb(127, 31, 174);
/* oklch */ color: oklch(46.8% 0.211 310.9);
Tailwind
colors: {
  custom: {
    50: '#a968c7',
    500: '#7f1fae',
    950: '#000000',
  },
}
SCSS
$custom: #7f1fae;
$custom-light: #a968c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1fae",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 280.28,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46819,
    "c": 0.21063,
    "h": 310.9
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#7F1FAE
secondary
#83C860
accent
#ED3B76
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #7F1FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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