#7A299A#7A299A

#7A299A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.181 H 314.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7A299A
RGBrgb(122, 41, 154)
HSLhsl(283, 58%, 38%)
HSVhsv(283, 73%, 60%)
CMYKcmyk(20.8%, 73.4%, 0%, 39.6%)
CIE-LABlab(34.10, 52.13, -45.68)
CIE-LCHlch(34.10, 69.32, 318.77°)
OKLaboklab(45.5% 0.1265 -0.1288)
OKLCHoklch(45.5% 0.181 314.5)
XYZxyz(14.6507, 8.0571, 31.3490)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A299A #499A29
analogous
#41299A #7A299A #9A2981
triadic
#7A299A #9A7A29 #299A7A
tetradic
#7A299A #9A4129 #499A29 #29819A
square
#7A299A #9A4129 #499A29 #29819A
split-complementary
#7A299A #819A29 #299A41
monochromatic
#2D0F39 #541C6A #7A299A #A037CA #B767D7

Accessibility & contrast

On white

8.04
#7A299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7A299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A299A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A299A#FFFFFF#000000##FFFFFF
##7A299A1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#235298
Tritanopia (blue-blind)
#77415F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a299a;
/* rgb */ color: rgb(122, 41, 154);
/* oklch */ color: oklch(45.5% 0.181 314.5);
Tailwind
colors: {
  custom: {
    50: '#a46bb8',
    500: '#7a299a',
    950: '#000000',
  },
}
SCSS
$custom: #7a299a;
$custom-light: #a46bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a299a",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 283.009,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45498,
    "c": 0.18052,
    "h": 314.5
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#7A299A
secondary
#7CBD62
accent
#E14772
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A299A

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

Preview Lab → · Contrast checker → · Palette generator →

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