#7A2C9F#7A2C9F

#7A2C9F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.182 H 312.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7A2C9F
RGBrgb(122, 44, 159)
HSLhsl(281, 57%, 40%)
HSVhsv(281, 72%, 62%)
CMYKcmyk(23.3%, 72.3%, 0%, 37.6%)
CIE-LABlab(34.89, 51.95, -47.45)
CIE-LCHlch(34.89, 70.36, 317.60°)
OKLaboklab(46.17% 0.1228 -0.134)
OKLCHoklch(46.17% 0.182 312.5)
XYZxyz(15.1836, 8.4426, 33.6239)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2C9F #519F2C
analogous
#412C9F #7A2C9F #9F2C8A
triadic
#7A2C9F #9F7A2C #2C9F7A
tetradic
#7A2C9F #9F412C #519F2C #2C8A9F
square
#7A2C9F #9F412C #519F2C #2C8A9F
split-complementary
#7A2C9F #8A9F2C #2C9F41
monochromatic
#30113F #551F6F #7A2C9F #9D3ECA #B56ED7

Accessibility & contrast

On white

7.81
#7A2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7A2C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2C9F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2C9F#FFFFFF#000000##FFFFFF
##7A2C9F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#20549C
Tritanopia (blue-blind)
#764563
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7a2c9f;
/* rgb */ color: rgb(122, 44, 159);
/* oklch */ color: oklch(46.2% 0.182 312.5);
Tailwind
colors: {
  custom: {
    50: '#a46cbc',
    500: '#7a2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #7a2c9f;
$custom-light: #a46cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2c9f",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 280.696,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46168,
    "c": 0.18173,
    "h": 312.5
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#7A2C9F
secondary
#84BE69
accent
#E04879
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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