#7F1A89#7F1A89

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

Color values

HEX#7F1A89
RGBrgb(127, 26, 137)
HSLhsl(295, 68%, 32%)
HSVhsv(295, 81%, 54%)
CMYKcmyk(7.3%, 81%, 0%, 46.3%)
CIE-LABlab(31.94, 55.12, -38.67)
CIE-LCHlch(31.94, 67.34, 324.95°)
OKLaboklab(43.76% 0.1484 -0.108)
OKLCHoklch(43.76% 0.184 323.9)
XYZxyz(13.6368, 7.0578, 24.3061)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A89 #24891A
analogous
#481A89 #7F1A89 #891A5B
triadic
#7F1A89 #897F1A #1A897F
tetradic
#7F1A89 #89481A #24891A #1A5B89
square
#7F1A89 #89481A #24891A #1A5B89
split-complementary
#7F1A89 #5B891A #1A8948
monochromatic
#200622 #4F1056 #7F1A89 #AF24BC #CD42DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1A89#FFFFFF#000000##FFFFFF
##7F1A891.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)
#00448C
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#813052
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f1a89;
/* rgb */ color: rgb(127, 26, 137);
/* oklch */ color: oklch(43.8% 0.184 323.9);
Tailwind
colors: {
  custom: {
    50: '#a864ac',
    500: '#7f1a89',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a89;
$custom-light: #a864ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a89",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 294.595,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43761,
    "c": 0.18352,
    "h": 323.9
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#7F1A89
secondary
#4EBC43
accent
#EB3D4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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