#7A1D85#7A1D85

#7A1D85 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.175 H 323.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7A1D85
RGBrgb(122, 29, 133)
HSLhsl(294, 64%, 32%)
HSVhsv(294, 78%, 52%)
CMYKcmyk(8.3%, 78.2%, 0%, 47.8%)
CIE-LABlab(31.14, 52.43, -37.51)
CIE-LCHlch(31.14, 64.46, 324.41°)
OKLaboklab(42.94% 0.1403 -0.1048)
OKLCHoklch(42.94% 0.175 323.2)
XYZxyz(12.6986, 6.7105, 22.8122)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D85 #28851D
analogous
#461D85 #7A1D85 #851D5C
triadic
#7A1D85 #857A1D #1D857A
tetradic
#7A1D85 #85461D #28851D #1D5C85
square
#7A1D85 #85461D #28851D #1D5C85
split-complementary
#7A1D85 #5C851D #1D8546
monochromatic
#1E0721 #4C1253 #7A1D85 #A828B7 #C746D7

Accessibility & contrast

On white

8.97
#7A1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D85
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D85#FFFFFF#000000##FFFFFF
##7A1D851.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#2F4D83
Tritanopia (blue-blind)
#7C3150
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1d85;
/* rgb */ color: rgb(122, 29, 133);
/* oklch */ color: oklch(42.9% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#a465a9',
    500: '#7a1d85',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d85;
$custom-light: #a465a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d85",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 293.654,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42944,
    "c": 0.17509,
    "h": 323.2
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#7A1D85
secondary
#52B846
accent
#E74152
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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