#7F1885#7F1885

#7F1885 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.182 H 325.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7F1885
RGBrgb(127, 24, 133)
HSLhsl(297, 69%, 31%)
HSVhsv(297, 82%, 52%)
CMYKcmyk(4.5%, 82%, 0%, 47.8%)
CIE-LABlab(31.49, 54.98, -36.91)
CIE-LCHlch(31.49, 66.22, 326.13°)
OKLaboklab(43.36% 0.1503 -0.1028)
OKLCHoklch(43.36% 0.182 325.6)
XYZxyz(13.3124, 6.8597, 22.8086)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1885 #1E8518
analogous
#481885 #7F1885 #851854
triadic
#7F1885 #857F18 #18857F
tetradic
#7F1885 #854818 #1E8518 #185485
square
#7F1885 #854818 #1E8518 #185485
split-complementary
#7F1885 #548518 #188548
monochromatic
#1C051D #4D0F51 #7F1885 #B121B9 #D33CDC

Accessibility & contrast

On white

8.85
#7F1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7F1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1885
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1885#FFFFFF#000000##FFFFFF
##7F18851.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#324E83
Tritanopia (blue-blind)
#822D4F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f1885;
/* rgb */ color: rgb(127, 24, 133);
/* oklch */ color: oklch(43.4% 0.182 325.6);
Tailwind
colors: {
  custom: {
    50: '#a863a9',
    500: '#7f1885',
    950: '#000000',
  },
}
SCSS
$custom: #7f1885;
$custom-light: #a863a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1885",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 296.697,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43358,
    "c": 0.1821,
    "h": 325.6
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#7F1885
secondary
#47B940
accent
#EC3C45
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1885

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

Preview Lab → · Contrast checker → · Palette generator →

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