#7A2EAE#7A2EAE

#7A2EAE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.5% C 0.194 H 307.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7A2EAE
RGBrgb(122, 46, 174)
HSLhsl(276, 58%, 43%)
HSVhsv(276, 74%, 68%)
CMYKcmyk(29.9%, 73.6%, 0%, 31.8%)
CIE-LABlab(36.27, 54.43, -54.22)
CIE-LCHlch(36.27, 76.83, 315.11°)
OKLaboklab(47.49% 0.1185 -0.1539)
OKLCHoklch(47.49% 0.194 307.6)
XYZxyz(16.6414, 9.1478, 40.9252)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2EAE #62AE2E
analogous
#3A2EAE #7A2EAE #AE2EA2
triadic
#7A2EAE #AE7A2E #2EAE7A
tetradic
#7A2EAE #AE3A2E #62AE2E #2EA2AE
square
#7A2EAE #AE3A2E #62AE2E #2EA2AE
split-complementary
#7A2EAE #A2AE2E #2EAE3A
monochromatic
#36144D #58217E #7A2EAE #994ACF #B47ADC

Accessibility & contrast

On white

7.42
#7A2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7A2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2EAE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2EAE#FFFFFF#000000##FFFFFF
##7A2EAE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#714C6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a2eae;
/* rgb */ color: rgb(122, 46, 174);
/* oklch */ color: oklch(47.5% 0.194 307.6);
Tailwind
colors: {
  custom: {
    50: '#a56ec7',
    500: '#7a2eae',
    950: '#000000',
  },
}
SCSS
$custom: #7a2eae;
$custom-light: #a56ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2eae",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 275.625,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.19422,
    "h": 307.6
  },
  "luminance": 0.09148
}

Semantic roles & 50–950 ramp

primary
#7A2EAE
secondary
#94C474
accent
#E14685
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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