#7A1C95#7A1C95

#7A1C95 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.190 H 317.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7A1C95
RGBrgb(122, 28, 149)
HSLhsl(287, 68%, 35%)
HSVhsv(287, 81%, 58%)
CMYKcmyk(18.1%, 81.2%, 0%, 41.6%)
CIE-LABlab(32.12, 55.79, -45.82)
CIE-LCHlch(32.12, 72.20, 320.60°)
OKLaboklab(43.99% 0.1391 -0.1291)
OKLCHoklch(43.99% 0.19 317.1)
XYZxyz(13.8653, 7.1386, 29.0755)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C95 #37951C
analogous
#3E1C95 #7A1C95 #951C73
triadic
#7A1C95 #957A1C #1C957A
tetradic
#7A1C95 #953E1C #37951C #1C7395
square
#7A1C95 #953E1C #37951C #1C7395
split-complementary
#7A1C95 #73951C #1C953E
monochromatic
#26092E #501261 #7A1C95 #A426C9 #BE4EDE

Accessibility & contrast

On white

8.65
#7A1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7A1C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C95
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C95#FFFFFF#000000##FFFFFF
##7A1C951.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#1E4E92
Tritanopia (blue-blind)
#793859
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a1c95;
/* rgb */ color: rgb(122, 28, 149);
/* oklch */ color: oklch(44.0% 0.190 317.1);
Tailwind
colors: {
  custom: {
    50: '#a565b5',
    500: '#7a1c95',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c95;
$custom-light: #a565b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c95",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 286.612,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43986,
    "c": 0.18978,
    "h": 317.1
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

primary
#7A1C95
secondary
#66C04D
accent
#EB3D64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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