#7F1E85#7F1E85

#7F1E85 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.176 H 325.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7F1E85
RGBrgb(127, 30, 133)
HSLhsl(297, 63%, 32%)
HSVhsv(297, 77%, 52%)
CMYKcmyk(4.5%, 77.4%, 0%, 47.8%)
CIE-LABlab(32.11, 53.17, -35.91)
CIE-LCHlch(32.11, 64.16, 325.97°)
OKLaboklab(43.8% 0.1453 -0.1)
OKLCHoklch(43.8% 0.176 325.5)
XYZxyz(13.4500, 7.1349, 22.8545)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E85 #24851E
analogous
#4C1E85 #7F1E85 #851E58
triadic
#7F1E85 #857F1E #1E857F
tetradic
#7F1E85 #854C1E #24851E #1E5885
square
#7F1E85 #854C1E #24851E #1E5885
split-complementary
#7F1E85 #58851E #1E854C
monochromatic
#200721 #4F1353 #7F1E85 #AF29B7 #CD48D6

Accessibility & contrast

On white

8.65
#7F1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7F1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E85
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E85#FFFFFF#000000##FFFFFF
##7F1E851.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#355083
Tritanopia (blue-blind)
#823051
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f1e85;
/* rgb */ color: rgb(127, 30, 133);
/* oklch */ color: oklch(43.8% 0.176 325.5);
Tailwind
colors: {
  custom: {
    50: '#a866a9',
    500: '#7f1e85',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e85;
$custom-light: #a866a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e85",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 296.505,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43803,
    "c": 0.17633,
    "h": 325.5
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#7F1E85
secondary
#4EB847
accent
#E6424B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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