#7A1C8E#7A1C8E

#7A1C8E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.184 H 319.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7A1C8E
RGBrgb(122, 28, 142)
HSLhsl(289, 67%, 33%)
HSVhsv(289, 80%, 56%)
CMYKcmyk(14.1%, 80.3%, 0%, 44.3%)
CIE-LABlab(31.63, 54.44, -42.31)
CIE-LCHlch(31.63, 68.95, 322.14°)
OKLaboklab(43.48% 0.1402 -0.1188)
OKLCHoklch(43.48% 0.184 319.7)
XYZxyz(13.3232, 6.9218, 26.2202)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C8E #308E1C
analogous
#411C8E #7A1C8E #8E1C69
triadic
#7A1C8E #8E7A1C #1C8E7A
tetradic
#7A1C8E #8E411C #308E1C #1C698E
square
#7A1C8E #8E411C #308E1C #1C698E
split-complementary
#7A1C8E #698E1C #1C8E41
monochromatic
#220828 #4E125B #7A1C8E #A626C1 #C249DB

Accessibility & contrast

On white

8.81
#7A1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C8E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C8E#FFFFFF#000000##FFFFFF
##7A1C8E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#7A3555
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1c8e;
/* rgb */ color: rgb(122, 28, 142);
/* oklch */ color: oklch(43.5% 0.184 319.7);
Tailwind
colors: {
  custom: {
    50: '#a465b0',
    500: '#7a1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c8e;
$custom-light: #a465b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c8e",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 289.474,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43483,
    "c": 0.18375,
    "h": 319.7
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#7A1C8E
secondary
#5DBD49
accent
#EA3E5C
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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