#7F1D85#7F1D85

#7F1D85 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.177 H 325.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7F1D85
RGBrgb(127, 29, 133)
HSLhsl(297, 64%, 32%)
HSVhsv(297, 78%, 52%)
CMYKcmyk(4.5%, 78.2%, 0%, 47.8%)
CIE-LABlab(32.00, 53.50, -36.09)
CIE-LCHlch(32.00, 64.53, 326.00°)
OKLaboklab(43.72% 0.1462 -0.1005)
OKLCHoklch(43.72% 0.177 325.5)
XYZxyz(13.4251, 7.0851, 22.8462)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D85 #23851D
analogous
#4B1D85 #7F1D85 #851D57
triadic
#7F1D85 #857F1D #1D857F
tetradic
#7F1D85 #854B1D #23851D #1D5785
square
#7F1D85 #854B1D #23851D #1D5785
split-complementary
#7F1D85 #57851D #1D854B
monochromatic
#1F0721 #4F1253 #7F1D85 #AF28B7 #CE46D7

Accessibility & contrast

On white

8.69
#7F1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D85
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D85#FFFFFF#000000##FFFFFF
##7F1D851.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#354F83
Tritanopia (blue-blind)
#823050
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f1d85;
/* rgb */ color: rgb(127, 29, 133);
/* oklch */ color: oklch(43.7% 0.177 325.5);
Tailwind
colors: {
  custom: {
    50: '#a865a9',
    500: '#7f1d85',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d85;
$custom-light: #a865a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d85",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 296.538,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43724,
    "c": 0.17736,
    "h": 325.5
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#7F1D85
secondary
#4CB846
accent
#E7414A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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