#7A1D83#7A1D83

#7A1D83 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.173 H 324.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7A1D83
RGBrgb(122, 29, 131)
HSLhsl(295, 64%, 31%)
HSVhsv(295, 78%, 51%)
CMYKcmyk(6.9%, 77.9%, 0%, 48.6%)
CIE-LABlab(31.01, 52.06, -36.47)
CIE-LCHlch(31.01, 63.56, 324.99°)
OKLaboklab(42.81% 0.1404 -0.1017)
OKLCHoklch(42.81% 0.173 324.1)
XYZxyz(12.5618, 6.6558, 22.0914)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D83 #26831D
analogous
#471D83 #7A1D83 #831D59
triadic
#7A1D83 #837A1D #1D837A
tetradic
#7A1D83 #83471D #26831D #1D5983
square
#7A1D83 #83471D #26831D #1D5983
split-complementary
#7A1D83 #59831D #1D8347
monochromatic
#1D071F #4B1251 #7A1D83 #A928B5 #C945D6

Accessibility & contrast

On white

9.01
#7A1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7A1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D83
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D83#FFFFFF#000000##FFFFFF
##7A1D831.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#314D81
Tritanopia (blue-blind)
#7C304F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1d83;
/* rgb */ color: rgb(122, 29, 131);
/* oklch */ color: oklch(42.8% 0.173 324.1);
Tailwind
colors: {
  custom: {
    50: '#a464a7',
    500: '#7a1d83',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d83;
$custom-light: #a464a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d83",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 294.706,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42812,
    "c": 0.1734,
    "h": 324.1
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#7A1D83
secondary
#50B646
accent
#E74150
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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