#7F1E80#7F1E80

#7F1E80 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.172 H 327.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7F1E80
RGBrgb(127, 30, 128)
HSLhsl(299, 62%, 31%)
HSVhsv(299, 77%, 50%)
CMYKcmyk(0.8%, 76.6%, 0%, 49.8%)
CIE-LABlab(31.81, 52.29, -33.27)
CIE-LCHlch(31.81, 61.98, 327.53°)
OKLaboklab(43.49% 0.1454 -0.0923)
OKLCHoklch(43.49% 0.172 327.6)
XYZxyz(13.1128, 7.0000, 21.0784)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E80 #1F801E
analogous
#4E1E80 #7F1E80 #801E50
triadic
#7F1E80 #807F1E #1E807F
tetradic
#7F1E80 #804E1E #1F801E #1E5080
square
#7F1E80 #804E1E #1F801E #1E5080
split-complementary
#7F1E80 #50801E #1E804E
monochromatic
#1D071D #4E124E #7F1E80 #B02AB2 #D245D3

Accessibility & contrast

On white

8.75
#7F1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7F1E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E80
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E80#FFFFFF#000000##FFFFFF
##7F1E801.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064383
Deuteranopia (green-blind)
#384F7E
Tritanopia (blue-blind)
#832E4E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f1e80;
/* rgb */ color: rgb(127, 30, 128);
/* oklch */ color: oklch(43.5% 0.172 327.6);
Tailwind
colors: {
  custom: {
    50: '#a765a5',
    500: '#7f1e80',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e80;
$custom-light: #a765a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e80",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 299.388,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43488,
    "c": 0.17223,
    "h": 327.6
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#7F1E80
secondary
#48B347
accent
#E54344
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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