#7F1EAE#7F1EAE

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

Color values

HEX#7F1EAE
RGBrgb(127, 30, 174)
HSLhsl(280, 71%, 40%)
HSVhsv(280, 83%, 68%)
CMYKcmyk(27%, 82.8%, 0%, 31.8%)
CIE-LABlab(35.00, 61.10, -56.25)
CIE-LCHlch(35.00, 83.05, 317.37°)
OKLaboklab(46.75% 0.1387 -0.1596)
OKLCHoklch(46.75% 0.211 311)
XYZxyz(16.8552, 8.4970, 40.7884)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1EAE #4DAE1E
analogous
#371EAE #7F1EAE #AE1E95
triadic
#7F1EAE #AE7F1E #1EAE7F
tetradic
#7F1EAE #AE371E #4DAE1E #1E95AE
square
#7F1EAE #AE371E #4DAE1E #1E95AE
split-complementary
#7F1EAE #95AE1E #1EAE37
monochromatic
#330C46 #59157A #7F1EAE #A32EDB #BA62E4

Accessibility & contrast

On white

7.78
#7F1EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1EAE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1EAE#FFFFFF#000000##FFFFFF
##7F1EAE1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1eae;
/* rgb */ color: rgb(127, 30, 174);
/* oklch */ color: oklch(46.7% 0.211 311.0);
Tailwind
colors: {
  custom: {
    50: '#a968c7',
    500: '#7f1eae',
    950: '#000000',
  },
}
SCSS
$custom: #7f1eae;
$custom-light: #a968c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1eae",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 174
  },
  "hsl": {
    "h": 280.417,
    "s": 70.588,
    "l": 40
  },
  "oklch": {
    "l": 0.46748,
    "c": 0.21146,
    "h": 311
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#7F1EAE
secondary
#82C95F
accent
#ED3A75
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #7F1EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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