#7A1CA0#7A1CA0

#7A1CA0 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.8% C 0.199 H 313.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7A1CA0
RGBrgb(122, 28, 160)
HSLhsl(283, 70%, 37%)
HSVhsv(283, 83%, 63%)
CMYKcmyk(23.7%, 82.5%, 0%, 37.3%)
CIE-LABlab(32.93, 57.99, -51.21)
CIE-LCHlch(32.93, 77.36, 318.55°)
OKLaboklab(44.81% 0.1369 -0.145)
OKLCHoklch(44.81% 0.199 313.4)
XYZxyz(14.7853, 7.5066, 33.9210)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1CA0 #42A01C
analogous
#381CA0 #7A1CA0 #A01C84
triadic
#7A1CA0 #A07A1C #1CA07A
tetradic
#7A1CA0 #A0381C #42A01C #1C84A0
square
#7A1CA0 #A0381C #42A01C #1C84A0
split-complementary
#7A1CA0 #84A01C #1CA038
monochromatic
#2B0A38 #52136C #7A1CA0 #A225D4 #B955E1

Accessibility & contrast

On white

8.40
#7A1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1CA0
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1CA0#FFFFFF#000000##FFFFFF
##7A1CA01.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#044F9D
Tritanopia (blue-blind)
#763E60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a1ca0;
/* rgb */ color: rgb(122, 28, 160);
/* oklch */ color: oklch(44.8% 0.199 313.4);
Tailwind
colors: {
  custom: {
    50: '#a566bd',
    500: '#7a1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #7a1ca0;
$custom-light: #a566bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1ca0",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 282.727,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44812,
    "c": 0.19935,
    "h": 313.4
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#7A1CA0
secondary
#74C453
accent
#ED3B6E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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