#7A299C#7A299C

#7A299C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.182 H 313.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7A299C
RGBrgb(122, 41, 156)
HSLhsl(282, 58%, 39%)
HSVhsv(282, 74%, 61%)
CMYKcmyk(21.8%, 73.7%, 0%, 38.8%)
CIE-LABlab(34.24, 52.56, -46.67)
CIE-LCHlch(34.24, 70.29, 318.39°)
OKLaboklab(45.64% 0.1262 -0.1317)
OKLCHoklch(45.64% 0.182 313.8)
XYZxyz(14.8187, 8.1242, 32.2336)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A299C #4B9C29
analogous
#40299C #7A299C #9C2984
triadic
#7A299C #9C7A29 #299C7A
tetradic
#7A299C #9C4029 #4B9C29 #29849C
square
#7A299C #9C4029 #4B9C29 #29849C
split-complementary
#7A299C #849C29 #299C40
monochromatic
#2E103B #541C6C #7A299C #9F38CB #B668D7

Accessibility & contrast

On white

8.00
#7A299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7A299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A299C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A299C#FFFFFF#000000##FFFFFF
##7A299C1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#205299
Tritanopia (blue-blind)
#774260
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a299c;
/* rgb */ color: rgb(122, 41, 156);
/* oklch */ color: oklch(45.6% 0.182 313.8);
Tailwind
colors: {
  custom: {
    50: '#a46bba',
    500: '#7a299c',
    950: '#000000',
  },
}
SCSS
$custom: #7a299c;
$custom-light: #a46bba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a299c",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 282.261,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.18243,
    "h": 313.8
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#7A299C
secondary
#7EBE63
accent
#E24674
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A299C

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

Preview Lab → · Contrast checker → · Palette generator →

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