#7F1D88#7F1D88

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

Color values

HEX#7F1D88
RGBrgb(127, 29, 136)
HSLhsl(295, 65%, 32%)
HSVhsv(295, 79%, 53%)
CMYKcmyk(6.6%, 78.7%, 0%, 46.7%)
CIE-LABlab(32.19, 54.03, -37.65)
CIE-LCHlch(32.19, 65.86, 325.13°)
OKLaboklab(43.92% 0.146 -0.105)
OKLCHoklch(43.92% 0.18 324.3)
XYZxyz(13.6353, 7.1692, 23.9534)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D88 #26881D
analogous
#491D88 #7F1D88 #881D5C
triadic
#7F1D88 #887F1D #1D887F
tetradic
#7F1D88 #88491D #26881D #1D5C88
square
#7F1D88 #88491D #26881D #1D5C88
split-complementary
#7F1D88 #5C881D #1D8849
monochromatic
#210723 #501256 #7F1D88 #AE28BA #CC48D8

Accessibility & contrast

On white

8.63
#7F1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1D88
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D88#FFFFFF#000000##FFFFFF
##7F1D881.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#325086
Tritanopia (blue-blind)
#823152
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f1d88;
/* rgb */ color: rgb(127, 29, 136);
/* oklch */ color: oklch(43.9% 0.180 324.3);
Tailwind
colors: {
  custom: {
    50: '#a865ab',
    500: '#7f1d88',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d88;
$custom-light: #a865ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d88",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 294.953,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43919,
    "c": 0.17982,
    "h": 324.3
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#7F1D88
secondary
#51BA47
accent
#E8404E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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