#7A1C8F#7A1C8F

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

Color values

HEX#7A1C8F
RGBrgb(122, 28, 143)
HSLhsl(289, 67%, 34%)
HSVhsv(289, 80%, 56%)
CMYKcmyk(14.7%, 80.4%, 0%, 43.9%)
CIE-LABlab(31.70, 54.63, -42.82)
CIE-LCHlch(31.70, 69.41, 321.91°)
OKLaboklab(43.55% 0.14 -0.1203)
OKLCHoklch(43.55% 0.185 319.3)
XYZxyz(13.3986, 6.9519, 26.6174)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C8F #318F1C
analogous
#401C8F #7A1C8F #8F1C6A
triadic
#7A1C8F #8F7A1C #1C8F7A
tetradic
#7A1C8F #8F401C #318F1C #1C6A8F
square
#7A1C8F #8F401C #318F1C #1C6A8F
split-complementary
#7A1C8F #6A8F1C #1C8F40
monochromatic
#230829 #4E125C #7A1C8F #A626C2 #C14ADC

Accessibility & contrast

On white

8.79
#7A1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C8F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C8F#FFFFFF#000000##FFFFFF
##7A1C8F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#254E8D
Tritanopia (blue-blind)
#7A3556
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a1c8f;
/* rgb */ color: rgb(122, 28, 143);
/* oklch */ color: oklch(43.6% 0.185 319.3);
Tailwind
colors: {
  custom: {
    50: '#a465b0',
    500: '#7a1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c8f;
$custom-light: #a465b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c8f",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 289.043,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43554,
    "c": 0.18461,
    "h": 319.3
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#7A1C8F
secondary
#5EBE49
accent
#EA3E5D
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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