#7A2C90#7A2C90

#7A2C90 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.167 H 317.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7A2C90
RGBrgb(122, 44, 144)
HSLhsl(287, 53%, 37%)
HSVhsv(287, 69%, 56%)
CMYKcmyk(15.3%, 69.4%, 0%, 43.5%)
CIE-LABlab(33.89, 48.78, -39.92)
CIE-LCHlch(33.89, 63.04, 320.71°)
OKLaboklab(45.13% 0.1241 -0.1119)
OKLCHoklch(45.13% 0.167 317.9)
XYZxyz(13.9601, 7.9532, 27.1799)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2C90 #42902C
analogous
#482C90 #7A2C90 #902C74
triadic
#7A2C90 #907A2C #2C907A
tetradic
#7A2C90 #90482C #42902C #2C7490
square
#7A2C90 #90482C #42902C #2C7490
split-complementary
#7A2C90 #74902C #2C9048
monochromatic
#2B0F32 #521E61 #7A2C90 #A23ABF #B966D0

Accessibility & contrast

On white

8.11
#7A2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7A2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2C90
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2C90#FFFFFF#000000##FFFFFF
##7A2C901.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#30528E
Tritanopia (blue-blind)
#793F5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a2c90;
/* rgb */ color: rgb(122, 44, 144);
/* oklch */ color: oklch(45.1% 0.167 317.9);
Tailwind
colors: {
  custom: {
    50: '#a46cb1',
    500: '#7a2c90',
    950: '#000000',
  },
}
SCSS
$custom: #7a2c90;
$custom-light: #a46cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2c90",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 286.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45132,
    "c": 0.16712,
    "h": 317.9
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#7A2C90
secondary
#74B761
accent
#DD4B6B
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #7A2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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