#7F1A8E#7F1A8E

#7F1A8E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.188 H 322.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7F1A8E
RGBrgb(127, 26, 142)
HSLhsl(292, 69%, 33%)
HSVhsv(292, 82%, 56%)
CMYKcmyk(10.6%, 81.7%, 0%, 44.3%)
CIE-LABlab(32.27, 56.03, -41.24)
CIE-LCHlch(32.27, 69.57, 323.65°)
OKLaboklab(44.1% 0.1478 -0.1155)
OKLCHoklch(44.1% 0.188 322)
XYZxyz(14.0038, 7.2046, 26.2390)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A8E #298E1A
analogous
#451A8E #7F1A8E #8E1A63
triadic
#7F1A8E #8E7F1A #1A8E7F
tetradic
#7F1A8E #8E451A #298E1A #1A638E
square
#7F1A8E #8E451A #298E1A #1A638E
split-complementary
#7F1A8E #638E1A #1A8E45
monochromatic
#220727 #51115A #7F1A8E #AD23C2 #C945DD

Accessibility & contrast

On white

8.60
#7F1A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7F1A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A8E
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A8E#FFFFFF#000000##FFFFFF
##7F1A8E1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#2C508B
Tritanopia (blue-blind)
#803355
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f1a8e;
/* rgb */ color: rgb(127, 26, 142);
/* oklch */ color: oklch(44.1% 0.188 322.0);
Tailwind
colors: {
  custom: {
    50: '#a865b0',
    500: '#7f1a8e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a8e;
$custom-light: #a865b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a8e",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 292.241,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.441,
    "c": 0.1876,
    "h": 322
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#7F1A8E
secondary
#55BE45
accent
#EC3C53
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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