#7F1889#7F1889

#7F1889 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.185 H 324.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7F1889
RGBrgb(127, 24, 137)
HSLhsl(295, 70%, 32%)
HSVhsv(295, 82%, 54%)
CMYKcmyk(7.3%, 82.5%, 0%, 46.3%)
CIE-LABlab(31.74, 55.69, -38.98)
CIE-LCHlch(31.74, 67.98, 325.01°)
OKLaboklab(43.62% 0.1499 -0.1089)
OKLCHoklch(43.62% 0.185 324)
XYZxyz(13.5940, 6.9723, 24.2918)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1889 #228918
analogous
#471889 #7F1889 #89185B
triadic
#7F1889 #897F18 #18897F
tetradic
#7F1889 #894718 #228918 #185B89
square
#7F1889 #894718 #228918 #185B89
split-complementary
#7F1889 #5B8918 #188947
monochromatic
#1E0621 #4F0F55 #7F1889 #AF21BD #CF3EDD

Accessibility & contrast

On white

8.77
#7F1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7F1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1889
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1889#FFFFFF#000000##FFFFFF
##7F18891.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#2F4F86
Tritanopia (blue-blind)
#812F52
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f1889;
/* rgb */ color: rgb(127, 24, 137);
/* oklch */ color: oklch(43.6% 0.185 324.0);
Tailwind
colors: {
  custom: {
    50: '#a864ac',
    500: '#7f1889',
    950: '#000000',
  },
}
SCSS
$custom: #7f1889;
$custom-light: #a864ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1889",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 294.69,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43624,
    "c": 0.1853,
    "h": 324
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#7F1889
secondary
#4BBD40
accent
#ED3B4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1889

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

Preview Lab → · Contrast checker → · Palette generator →

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