#7A299D#7A299D

#7A299D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.183 H 313.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7A299D
RGBrgb(122, 41, 157)
HSLhsl(282, 59%, 39%)
HSVhsv(282, 74%, 62%)
CMYKcmyk(22.3%, 73.9%, 0%, 38.4%)
CIE-LABlab(34.31, 52.77, -47.17)
CIE-LCHlch(34.31, 70.78, 318.21°)
OKLaboklab(45.71% 0.1261 -0.1332)
OKLCHoklch(45.71% 0.183 313.4)
XYZxyz(14.9037, 8.1582, 32.6814)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A299D #4C9D29
analogous
#40299D #7A299D #9D2986
triadic
#7A299D #9D7A29 #299D7A
tetradic
#7A299D #9D4029 #4C9D29 #29869D
square
#7A299D #9D4029 #4C9D29 #29869D
split-complementary
#7A299D #869D29 #299D40
monochromatic
#2F103C #541C6C #7A299D #9F38CB #B669D8

Accessibility & contrast

On white

7.98
#7A299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7A299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A299D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A299D#FFFFFF#000000##FFFFFF
##7A299D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#1F529A
Tritanopia (blue-blind)
#764261
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a299d;
/* rgb */ color: rgb(122, 41, 157);
/* oklch */ color: oklch(45.7% 0.183 313.4);
Tailwind
colors: {
  custom: {
    50: '#a46bbb',
    500: '#7a299d',
    950: '#000000',
  },
}
SCSS
$custom: #7a299d;
$custom-light: #a46bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a299d",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 281.897,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45713,
    "c": 0.18339,
    "h": 313.4
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#7A299D
secondary
#7FBE64
accent
#E24675
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A299D

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

Preview Lab → · Contrast checker → · Palette generator →

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