#7A2AAF#7A2AAF

#7A2AAF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.2% C 0.200 H 307.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7A2AAF
RGBrgb(122, 42, 175)
HSLhsl(276, 61%, 43%)
HSVhsv(276, 76%, 69%)
CMYKcmyk(30.3%, 76%, 0%, 31.4%)
CIE-LABlab(35.77, 56.29, -55.62)
CIE-LCHlch(35.77, 79.13, 315.34°)
OKLaboklab(47.16% 0.122 -0.158)
OKLCHoklch(47.16% 0.2 307.7)
XYZxyz(16.5902, 8.8889, 41.3909)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2AAF #5FAF2A
analogous
#372AAF #7A2AAF #AF2AA2
triadic
#7A2AAF #AF7A2A #2AAF7A
tetradic
#7A2AAF #AF372A #5FAF2A #2AA2AF
square
#7A2AAF #AF372A #5FAF2A #2AA2AF
split-complementary
#7A2AAF #A2AF2A #2AAF37
monochromatic
#35124C #581E7E #7A2AAF #9A44D2 #B475DE

Accessibility & contrast

On white

7.56
#7A2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7A2AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2AAF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2AAF#FFFFFF#000000##FFFFFF
##7A2AAF1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#714B6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a2aaf;
/* rgb */ color: rgb(122, 42, 175);
/* oklch */ color: oklch(47.2% 0.200 307.7);
Tailwind
colors: {
  custom: {
    50: '#a56cc8',
    500: '#7a2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #7a2aaf;
$custom-light: #a56cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2aaf",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 276.09,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47161,
    "c": 0.19965,
    "h": 307.7
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#7A2AAF
secondary
#92C66F
accent
#E44384
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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