#7F1E88#7F1E88

#7F1E88 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.179 H 324.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#7F1E88
RGBrgb(127, 30, 136)
HSLhsl(295, 64%, 33%)
HSVhsv(295, 78%, 53%)
CMYKcmyk(6.6%, 77.9%, 0%, 46.7%)
CIE-LABlab(32.30, 53.71, -37.47)
CIE-LCHlch(32.30, 65.49, 325.10°)
OKLaboklab(44% 0.1451 -0.1045)
OKLCHoklch(44% 0.179 324.2)
XYZxyz(13.6602, 7.2190, 23.9617)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E88 #27881E
analogous
#4A1E88 #7F1E88 #881E5C
triadic
#7F1E88 #887F1E #1E887F
tetradic
#7F1E88 #884A1E #27881E #1E5C88
square
#7F1E88 #884A1E #27881E #1E5C88
split-complementary
#7F1E88 #5C881E #1E884A
monochromatic
#210824 #501356 #7F1E88 #AE29BA #CB49D7

Accessibility & contrast

On white

8.59
#7F1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1E88
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E88#FFFFFF#000000##FFFFFF
##7F1E881.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#823252
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f1e88;
/* rgb */ color: rgb(127, 30, 136);
/* oklch */ color: oklch(44.0% 0.179 324.2);
Tailwind
colors: {
  custom: {
    50: '#a866ab',
    500: '#7f1e88',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e88;
$custom-light: #a866ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e88",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 294.906,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43998,
    "c": 0.17881,
    "h": 324.2
  },
  "luminance": 0.07218
}

Semantic roles & 50–950 ramp

primary
#7F1E88
secondary
#52B949
accent
#E7414F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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