#7F1E89#7F1E89

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

Color values

HEX#7F1E89
RGBrgb(127, 30, 137)
HSLhsl(294, 64%, 33%)
HSVhsv(294, 78%, 54%)
CMYKcmyk(7.3%, 78.1%, 0%, 46.3%)
CIE-LABlab(32.36, 53.89, -37.99)
CIE-LCHlch(32.36, 65.94, 324.82°)
OKLaboklab(44.06% 0.145 -0.106)
OKLCHoklch(44.06% 0.18 323.8)
XYZxyz(13.7316, 7.2476, 24.3377)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E89 #28891E
analogous
#4A1E89 #7F1E89 #891E5D
triadic
#7F1E89 #897F1E #1E897F
tetradic
#7F1E89 #894A1E #28891E #1E5D89
square
#7F1E89 #894A1E #28891E #1E5D89
split-complementary
#7F1E89 #5D891E #1E894A
monochromatic
#220825 #501357 #7F1E89 #AE29BB #CA4AD7

Accessibility & contrast

On white

8.57
#7F1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7F1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E89
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E89#FFFFFF#000000##FFFFFF
##7F1E891.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#813253
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f1e89;
/* rgb */ color: rgb(127, 30, 137);
/* oklch */ color: oklch(44.1% 0.180 323.8);
Tailwind
colors: {
  custom: {
    50: '#a866ac',
    500: '#7f1e89',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e89;
$custom-light: #a866ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e89",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 294.393,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44063,
    "c": 0.17964,
    "h": 323.8
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#7F1E89
secondary
#54BA49
accent
#E74150
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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