#7F1C95#7F1C95

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

Color values

HEX#7F1C95
RGBrgb(127, 28, 149)
HSLhsl(289, 68%, 35%)
HSVhsv(289, 81%, 58%)
CMYKcmyk(14.8%, 81.2%, 0%, 41.6%)
CIE-LABlab(32.95, 56.75, -44.45)
CIE-LCHlch(32.95, 72.08, 321.93°)
OKLaboklab(44.73% 0.1453 -0.1249)
OKLCHoklch(44.73% 0.192 319.3)
XYZxyz(14.5918, 7.5132, 29.1095)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C95 #32951C
analogous
#431C95 #7F1C95 #951C6F
triadic
#7F1C95 #957F1C #1C957F
tetradic
#7F1C95 #95431C #32951C #1C6F95
square
#7F1C95 #95431C #32951C #1C6F95
split-complementary
#7F1C95 #6F951C #1C9543
monochromatic
#27092E #531261 #7F1C95 #AB26C9 #C44EDE

Accessibility & contrast

On white

8.39
#7F1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1C95
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C95#FFFFFF#000000##FFFFFF
##7F1C951.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1c95;
/* rgb */ color: rgb(127, 28, 149);
/* oklch */ color: oklch(44.7% 0.192 319.3);
Tailwind
colors: {
  custom: {
    50: '#a866b5',
    500: '#7f1c95',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c95;
$custom-light: #a866b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c95",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 289.091,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44731,
    "c": 0.19164,
    "h": 319.3
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#7F1C95
secondary
#62C04D
accent
#EB3D5C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7F1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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