#7A2B99#7A2B99

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

Color values

HEX#7A2B99
RGBrgb(122, 43, 153)
HSLhsl(283, 56%, 38%)
HSVhsv(283, 72%, 60%)
CMYKcmyk(20.3%, 71.9%, 0%, 40%)
CIE-LABlab(34.33, 51.09, -44.71)
CIE-LCHlch(34.33, 67.90, 318.81°)
OKLaboklab(45.64% 0.1245 -0.126)
OKLCHoklch(45.64% 0.177 314.7)
XYZxyz(14.6387, 8.1657, 30.9358)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B99 #4A992B
analogous
#432B99 #7A2B99 #992B81
triadic
#7A2B99 #997A2B #2B997A
tetradic
#7A2B99 #99432B #4A992B #2B8199
square
#7A2B99 #99432B #4A992B #2B8199
split-complementary
#7A2B99 #81992B #2B9943
monochromatic
#2E1039 #541E69 #7A2B99 #A03AC8 #B769D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A2B99#FFFFFF#000000##FFFFFF
##7A2B991.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)
#004C9C
Deuteranopia (green-blind)
#265397
Tritanopia (blue-blind)
#77425F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a2b99;
/* rgb */ color: rgb(122, 43, 153);
/* oklch */ color: oklch(45.6% 0.177 314.7);
Tailwind
colors: {
  custom: {
    50: '#a46cb8',
    500: '#7a2b99',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b99;
$custom-light: #a46cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b99",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 283.091,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.17711,
    "h": 314.7
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#7A2B99
secondary
#7DBC64
accent
#DF4873
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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