#7A1CA1#7A1CA1

#7A1CA1 is a dark, highly saturated purple. Relative luminance 0.075; OKLCH L 44.9% C 0.200 H 313.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7A1CA1
RGBrgb(122, 28, 161)
HSLhsl(282, 70%, 37%)
HSVhsv(282, 83%, 63%)
CMYKcmyk(24.2%, 82.6%, 0%, 36.9%)
CIE-LABlab(33.01, 58.19, -51.70)
CIE-LCHlch(33.01, 77.84, 318.38°)
OKLaboklab(44.89% 0.1366 -0.1464)
OKLCHoklch(44.89% 0.2 313)
XYZxyz(14.8732, 7.5418, 34.3835)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1CA1 #43A11C
analogous
#381CA1 #7A1CA1 #A11C86
triadic
#7A1CA1 #A17A1C #1CA17A
tetradic
#7A1CA1 #A1381C #43A11C #1C86A1
square
#7A1CA1 #A1381C #43A11C #1C86A1
split-complementary
#7A1CA1 #86A11C #1CA138
monochromatic
#2B0A39 #52136D #7A1CA1 #A225D5 #B956E2

Accessibility & contrast

On white

8.37
#7A1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7A1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1CA1
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1CA1#FFFFFF#000000##FFFFFF
##7A1CA11.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#01509E
Tritanopia (blue-blind)
#763E60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a1ca1;
/* rgb */ color: rgb(122, 28, 161);
/* oklch */ color: oklch(44.9% 0.200 313.0);
Tailwind
colors: {
  custom: {
    50: '#a566be',
    500: '#7a1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #7a1ca1;
$custom-light: #a566be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1ca1",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 282.406,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44889,
    "c": 0.20023,
    "h": 313
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

primary
#7A1CA1
secondary
#75C554
accent
#ED3B6F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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