#7A2F83#7A2F83

#7A2F83 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.150 H 323.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7A2F83
RGBrgb(122, 47, 131)
HSLhsl(294, 47%, 35%)
HSVhsv(294, 64%, 51%)
CMYKcmyk(6.9%, 64.1%, 0%, 48.6%)
CIE-LABlab(33.58, 44.81, -32.37)
CIE-LCHlch(33.58, 55.28, 324.15°)
OKLaboklab(44.66% 0.1205 -0.0899)
OKLCHoklch(44.66% 0.15 323.3)
XYZxyz(13.1389, 7.8100, 22.2837)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F83 #38832F
analogous
#502F83 #7A2F83 #832F62
triadic
#7A2F83 #837A2F #2F837A
tetradic
#7A2F83 #83502F #38832F #2F6283
square
#7A2F83 #83502F #38832F #2F6283
split-complementary
#7A2F83 #62832F #2F8350
monochromatic
#260F29 #501F56 #7A2F83 #A43FB0 #BD65C8

Accessibility & contrast

On white

8.20
#7A2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7A2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F83
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F83#FFFFFF#000000##FFFFFF
##7A2F831.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4986
Deuteranopia (green-blind)
#3B5281
Tritanopia (blue-blind)
#7C3C54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a2f83;
/* rgb */ color: rgb(122, 47, 131);
/* oklch */ color: oklch(44.7% 0.150 323.3);
Tailwind
colors: {
  custom: {
    50: '#a36da7',
    500: '#7a2f83',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f83;
$custom-light: #a36da7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f83",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 293.571,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4466,
    "c": 0.15039,
    "h": 323.3
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#7A2F83
secondary
#68AF5F
accent
#D7515F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7A2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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