#7A2C8F#7A2C8F

#7A2C8F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.166 H 318.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7A2C8F
RGBrgb(122, 44, 143)
HSLhsl(287, 53%, 37%)
HSVhsv(287, 69%, 56%)
CMYKcmyk(14.7%, 69.2%, 0%, 43.9%)
CIE-LABlab(33.82, 48.58, -39.41)
CIE-LCHlch(33.82, 62.55, 320.95°)
OKLaboklab(45.07% 0.1241 -0.1104)
OKLCHoklch(45.07% 0.166 318.3)
XYZxyz(13.8840, 7.9227, 26.7792)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2C8F #418F2C
analogous
#492C8F #7A2C8F #8F2C73
triadic
#7A2C8F #8F7A2C #2C8F7A
tetradic
#7A2C8F #8F492C #418F2C #2C738F
square
#7A2C8F #8F492C #418F2C #2C738F
split-complementary
#7A2C8F #738F2C #2C8F49
monochromatic
#2A0F31 #521E60 #7A2C8F #A23ABE #B966D0

Accessibility & contrast

On white

8.13
#7A2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7A2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2C8F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2C8F#FFFFFF#000000##FFFFFF
##7A2C8F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#7A3E5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a2c8f;
/* rgb */ color: rgb(122, 44, 143);
/* oklch */ color: oklch(45.1% 0.166 318.3);
Tailwind
colors: {
  custom: {
    50: '#a46cb0',
    500: '#7a2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #7a2c8f;
$custom-light: #a46cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2c8f",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 287.273,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45065,
    "c": 0.16616,
    "h": 318.3
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#7A2C8F
secondary
#73B661
accent
#DC4B6A
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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