#7A1C93#7A1C93

#7A1C93 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.188 H 317.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7A1C93
RGBrgb(122, 28, 147)
HSLhsl(287, 68%, 34%)
HSVhsv(287, 81%, 58%)
CMYKcmyk(17%, 81%, 0%, 42.4%)
CIE-LABlab(31.98, 55.40, -44.83)
CIE-LCHlch(31.98, 71.27, 321.02°)
OKLaboklab(43.84% 0.1394 -0.1262)
OKLCHoklch(43.84% 0.188 317.8)
XYZxyz(13.7070, 7.0753, 28.2418)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C93 #35931C
analogous
#3F1C93 #7A1C93 #931C71
triadic
#7A1C93 #937A1C #1C937A
tetradic
#7A1C93 #933F1C #35931C #1C7193
square
#7A1C93 #933F1C #35931C #1C7193
split-complementary
#7A1C93 #71931C #1C933F
monochromatic
#25082C #4F1260 #7A1C93 #A526C6 #BF4CDD

Accessibility & contrast

On white

8.70
#7A1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7A1C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C93
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C93#FFFFFF#000000##FFFFFF
##7A1C931.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#214E90
Tritanopia (blue-blind)
#793758
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a1c93;
/* rgb */ color: rgb(122, 28, 147);
/* oklch */ color: oklch(43.8% 0.188 317.8);
Tailwind
colors: {
  custom: {
    50: '#a465b3',
    500: '#7a1c93',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c93;
$custom-light: #a465b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c93",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 287.395,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4384,
    "c": 0.18805,
    "h": 317.8
  },
  "luminance": 0.07075
}

Semantic roles & 50–950 ramp

primary
#7A1C93
secondary
#64BF4C
accent
#EB3D61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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