#7A1CA7#7A1CA7

#7A1CA7 is a mid, highly saturated purple. Relative luminance 0.078; OKLCH L 45.4% C 0.206 H 311.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7A1CA7
RGBrgb(122, 28, 167)
HSLhsl(281, 71%, 38%)
HSVhsv(281, 83%, 65%)
CMYKcmyk(26.9%, 83.2%, 0%, 34.5%)
CIE-LABlab(33.47, 59.42, -54.56)
CIE-LCHlch(33.47, 80.67, 317.44°)
OKLaboklab(45.36% 0.1352 -0.1548)
OKLCHoklch(45.36% 0.206 311.1)
XYZxyz(15.4150, 7.7585, 37.2372)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1CA7 #49A71C
analogous
#351CA7 #7A1CA7 #A71C8E
triadic
#7A1CA7 #A77A1C #1CA77A
tetradic
#7A1CA7 #A7351C #49A71C #1C8EA7
square
#7A1CA7 #A7351C #49A71C #1C8EA7
split-complementary
#7A1CA7 #8EA71C #1CA735
monochromatic
#2D0A3E #541373 #7A1CA7 #A026DB #B75AE3

Accessibility & contrast

On white

8.23
#7A1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7A1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1CA7
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1CA7#FFFFFF#000000##FFFFFF
##7A1CA71.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#744164
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a1ca7;
/* rgb */ color: rgb(122, 28, 167);
/* oklch */ color: oklch(45.4% 0.206 311.1);
Tailwind
colors: {
  custom: {
    50: '#a666c2',
    500: '#7a1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #7a1ca7;
$custom-light: #a666c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1ca7",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 280.576,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.20551,
    "h": 311.1
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#7A1CA7
secondary
#7CC758
accent
#EE3A74
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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