#7A2B92#7A2B92

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

Color values

HEX#7A2B92
RGBrgb(122, 43, 146)
HSLhsl(286, 54%, 37%)
HSVhsv(286, 71%, 57%)
CMYKcmyk(16.4%, 70.5%, 0%, 42.7%)
CIE-LABlab(33.86, 49.63, -41.19)
CIE-LCHlch(33.86, 64.49, 320.31°)
OKLaboklab(45.16% 0.1251 -0.1156)
OKLCHoklch(45.16% 0.17 317.3)
XYZxyz(14.0775, 7.9412, 27.9798)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B92 #43922B
analogous
#462B92 #7A2B92 #922B77
triadic
#7A2B92 #927A2B #2B927A
tetradic
#7A2B92 #92462B #43922B #2B7792
square
#7A2B92 #92462B #43922B #2B7792
split-complementary
#7A2B92 #77922B #2B9246
monochromatic
#2B0F33 #521D63 #7A2B92 #A239C1 #B966D2

Accessibility & contrast

On white

8.11
#7A2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7A2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2B92
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B92#FFFFFF#000000##FFFFFF
##7A2B921.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#2D5290
Tritanopia (blue-blind)
#793F5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a2b92;
/* rgb */ color: rgb(122, 43, 146);
/* oklch */ color: oklch(45.2% 0.170 317.3);
Tailwind
colors: {
  custom: {
    50: '#a46bb2',
    500: '#7a2b92',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b92;
$custom-light: #a46bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b92",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 286.019,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45155,
    "c": 0.17036,
    "h": 317.3
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#7A2B92
secondary
#75B861
accent
#DE4A6C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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