#7A2A92#7A2A92

#7A2A92 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.172 H 317.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7A2A92
RGBrgb(122, 42, 146)
HSLhsl(286, 55%, 37%)
HSVhsv(286, 71%, 57%)
CMYKcmyk(16.4%, 71.2%, 0%, 42.7%)
CIE-LABlab(33.71, 50.05, -41.43)
CIE-LCHlch(33.71, 64.98, 320.39°)
OKLaboklab(45.05% 0.1262 -0.1163)
OKLCHoklch(45.05% 0.172 317.3)
XYZxyz(14.0416, 7.8694, 27.9679)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A92 #42922A
analogous
#462A92 #7A2A92 #922A76
triadic
#7A2A92 #927A2A #2A927A
tetradic
#7A2A92 #92462A #42922A #2A7692
square
#7A2A92 #92462A #42922A #2A7692
split-complementary
#7A2A92 #76922A #2A9246
monochromatic
#2B0F33 #521C62 #7A2A92 #A238C2 #B964D2

Accessibility & contrast

On white

8.16
#7A2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7A2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A92
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A92#FFFFFF#000000##FFFFFF
##7A2A921.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#2D5290
Tritanopia (blue-blind)
#793E5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a2a92;
/* rgb */ color: rgb(122, 42, 146);
/* oklch */ color: oklch(45.0% 0.172 317.3);
Tailwind
colors: {
  custom: {
    50: '#a46bb2',
    500: '#7a2a92',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a92;
$custom-light: #a46bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a92",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 286.154,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.17164,
    "h": 317.3
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#7A2A92
secondary
#74B85F
accent
#DF496C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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