#7A2E92#7A2E92

#7A2E92 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.166 H 317.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7A2E92
RGBrgb(122, 46, 146)
HSLhsl(286, 52%, 38%)
HSVhsv(286, 68%, 57%)
CMYKcmyk(16.4%, 68.5%, 0%, 42.7%)
CIE-LABlab(34.33, 48.31, -40.43)
CIE-LCHlch(34.33, 63.00, 320.07°)
OKLaboklab(45.49% 0.1217 -0.1135)
OKLCHoklch(45.49% 0.166 317)
XYZxyz(14.1906, 8.1675, 28.0175)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E92 #46922E
analogous
#482E92 #7A2E92 #922E78
triadic
#7A2E92 #927A2E #2E927A
tetradic
#7A2E92 #92482E #46922E #2E7892
square
#7A2E92 #92482E #46922E #2E7892
split-complementary
#7A2E92 #78922E #2E9248
monochromatic
#2C1135 #531F63 #7A2E92 #A13DC1 #B86AD0

Accessibility & contrast

On white

7.97
#7A2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2E92
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2E92#FFFFFF#000000##FFFFFF
##7A2E921.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#305390
Tritanopia (blue-blind)
#79415C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7a2e92;
/* rgb */ color: rgb(122, 46, 146);
/* oklch */ color: oklch(45.5% 0.166 317.0);
Tailwind
colors: {
  custom: {
    50: '#a46db2',
    500: '#7a2e92',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e92;
$custom-light: #a46db2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e92",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 285.6,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45491,
    "c": 0.16638,
    "h": 317
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#7A2E92
secondary
#78B765
accent
#DC4C6F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #7A2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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