#7F1E82#7F1E82

#7F1E82 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.174 H 326.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7F1E82
RGBrgb(127, 30, 130)
HSLhsl(298, 63%, 31%)
HSVhsv(298, 77%, 51%)
CMYKcmyk(2.3%, 76.9%, 0%, 49%)
CIE-LABlab(31.93, 52.64, -34.33)
CIE-LCHlch(31.93, 62.85, 326.89°)
OKLaboklab(43.61% 0.1454 -0.0954)
OKLCHoklch(43.61% 0.174 326.7)
XYZxyz(13.2457, 7.0532, 21.7785)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E82 #21821E
analogous
#4D1E82 #7F1E82 #821E53
triadic
#7F1E82 #827F1E #1E827F
tetradic
#7F1E82 #824D1E #21821E #1E5382
square
#7F1E82 #824D1E #21821E #1E5382
split-complementary
#7F1E82 #53821E #1E824D
monochromatic
#1E071F #4E1350 #7F1E82 #B029B4 #D046D4

Accessibility & contrast

On white

8.71
#7F1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7F1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E82
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E82#FFFFFF#000000##FFFFFF
##7F1E821.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014385
Deuteranopia (green-blind)
#374F80
Tritanopia (blue-blind)
#832F4F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f1e82;
/* rgb */ color: rgb(127, 30, 130);
/* oklch */ color: oklch(43.6% 0.174 326.7);
Tailwind
colors: {
  custom: {
    50: '#a866a7',
    500: '#7f1e82',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e82;
$custom-light: #a866a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e82",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 298.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43613,
    "c": 0.17386,
    "h": 326.7
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#7F1E82
secondary
#4AB547
accent
#E64247
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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