#7A2FAE#7A2FAE

#7A2FAE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.193 H 307.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7A2FAE
RGBrgb(122, 47, 174)
HSLhsl(275, 57%, 43%)
HSVhsv(275, 73%, 68%)
CMYKcmyk(29.9%, 73%, 0%, 31.8%)
CIE-LABlab(36.42, 54.00, -53.98)
CIE-LCHlch(36.42, 76.35, 315.01°)
OKLaboklab(47.6% 0.1175 -0.1532)
OKLCHoklch(47.6% 0.193 307.5)
XYZxyz(16.6809, 9.2268, 40.9384)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2FAE #63AE2F
analogous
#3A2FAE #7A2FAE #AE2FA2
triadic
#7A2FAE #AE7A2F #2FAE7A
tetradic
#7A2FAE #AE3A2F #63AE2F #2FA2AE
square
#7A2FAE #AE3A2F #63AE2F #2FA2AE
split-complementary
#7A2FAE #A2AE2F #2FAE3A
monochromatic
#36154E #58227E #7A2FAE #994CCF #B47CDC

Accessibility & contrast

On white

7.38
#7A2FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7A2FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2FAE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2FAE#FFFFFF#000000##FFFFFF
##7A2FAE1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2fae;
/* rgb */ color: rgb(122, 47, 174);
/* oklch */ color: oklch(47.6% 0.193 307.5);
Tailwind
colors: {
  custom: {
    50: '#a56fc7',
    500: '#7a2fae',
    950: '#000000',
  },
}
SCSS
$custom: #7a2fae;
$custom-light: #a56fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2fae",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 275.433,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47595,
    "c": 0.19305,
    "h": 307.5
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#7A2FAE
secondary
#95C475
accent
#E14786
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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