#7A299E#7A299E

#7A299E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.184 H 313.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7A299E
RGBrgb(122, 41, 158)
HSLhsl(282, 59%, 39%)
HSVhsv(282, 74%, 62%)
CMYKcmyk(22.8%, 74.1%, 0%, 38%)
CIE-LABlab(34.38, 52.98, -47.66)
CIE-LCHlch(34.38, 71.26, 318.03°)
OKLaboklab(45.79% 0.1259 -0.1346)
OKLCHoklch(45.79% 0.184 313.1)
XYZxyz(14.9894, 8.1925, 33.1328)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A299E #4D9E29
analogous
#3F299E #7A299E #9E2988
triadic
#7A299E #9E7A29 #299E7A
tetradic
#7A299E #9E3F29 #4D9E29 #29889E
square
#7A299E #9E3F29 #4D9E29 #29889E
split-complementary
#7A299E #889E29 #299E3F
monochromatic
#2F103D #541C6D #7A299E #9E39CC #B669D8

Accessibility & contrast

On white

7.96
#7A299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7A299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A299E
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A299E#FFFFFF#000000##FFFFFF
##7A299E1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#1D539B
Tritanopia (blue-blind)
#764361
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a299e;
/* rgb */ color: rgb(122, 41, 158);
/* oklch */ color: oklch(45.8% 0.184 313.1);
Tailwind
colors: {
  custom: {
    50: '#a46bbb',
    500: '#7a299e',
    950: '#000000',
  },
}
SCSS
$custom: #7a299e;
$custom-light: #a46bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a299e",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 281.538,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45785,
    "c": 0.18434,
    "h": 313.1
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#7A299E
secondary
#80BF64
accent
#E24676
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A299E

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

Preview Lab → · Contrast checker → · Palette generator →

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