#7F1C94#7F1C94

#7F1C94 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.191 H 319.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7F1C94
RGBrgb(127, 28, 148)
HSLhsl(290, 68%, 35%)
HSVhsv(290, 81%, 58%)
CMYKcmyk(14.2%, 81.1%, 0%, 42%)
CIE-LABlab(32.88, 56.56, -43.95)
CIE-LCHlch(32.88, 71.62, 322.15°)
OKLaboklab(44.66% 0.1455 -0.1235)
OKLCHoklch(44.66% 0.191 319.7)
XYZxyz(14.5123, 7.4814, 28.6909)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C94 #31941C
analogous
#431C94 #7F1C94 #941C6D
triadic
#7F1C94 #947F1C #1C947F
tetradic
#7F1C94 #94431C #31941C #1C6D94
square
#7F1C94 #94431C #31941C #1C6D94
split-complementary
#7F1C94 #6D941C #1C9443
monochromatic
#27092D #531261 #7F1C94 #AB26C7 #C44DDD

Accessibility & contrast

On white

8.41
#7F1C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7F1C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1C94
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C94#FFFFFF#000000##FFFFFF
##7F1C941.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#275191
Tritanopia (blue-blind)
#7F3759
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f1c94;
/* rgb */ color: rgb(127, 28, 148);
/* oklch */ color: oklch(44.7% 0.191 319.7);
Tailwind
colors: {
  custom: {
    50: '#a866b4',
    500: '#7f1c94',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c94;
$custom-light: #a866b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c94",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 289.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4466,
    "c": 0.1908,
    "h": 319.7
  },
  "luminance": 0.07481
}

Semantic roles & 50–950 ramp

primary
#7F1C94
secondary
#60C04C
accent
#EB3D5B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7F1C94

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

Preview Lab → · Contrast checker → · Palette generator →

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