#7A1CA9#7A1CA9

#7A1CA9 is a mid, highly saturated purple. Relative luminance 0.078; OKLCH L 45.5% C 0.207 H 310.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7A1CA9
RGBrgb(122, 28, 169)
HSLhsl(280, 72%, 39%)
HSVhsv(280, 83%, 66%)
CMYKcmyk(27.8%, 83.4%, 0%, 33.7%)
CIE-LABlab(33.63, 59.83, -55.51)
CIE-LCHlch(33.63, 81.61, 317.15°)
OKLaboklab(45.52% 0.1347 -0.1576)
OKLCHoklch(45.52% 0.207 310.5)
XYZxyz(15.6013, 7.8330, 38.2185)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1CA9 #4BA91C
analogous
#331CA9 #7A1CA9 #A91C91
triadic
#7A1CA9 #A97A1C #1CA97A
tetradic
#7A1CA9 #A9331C #4BA91C #1C91A9
square
#7A1CA9 #A9331C #4BA91C #1C91A9
split-complementary
#7A1CA9 #91A91C #1CA933
monochromatic
#2E0B40 #541374 #7A1CA9 #9F27DB #B65BE4

Accessibility & contrast

On white

8.18
#7A1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7A1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1CA9
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1CA9#FFFFFF#000000##FFFFFF
##7A1CA91.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#734265
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a1ca9;
/* rgb */ color: rgb(122, 28, 169);
/* oklch */ color: oklch(45.5% 0.207 310.5);
Tailwind
colors: {
  custom: {
    50: '#a666c3',
    500: '#7a1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #7a1ca9;
$custom-light: #a666c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1ca9",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 280,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45519,
    "c": 0.20727,
    "h": 310.5
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#7A1CA9
secondary
#7EC859
accent
#EE3976
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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