#7A3EAF#7A3EAF

#7A3EAF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.175 H 305.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7A3EAF
RGBrgb(122, 62, 175)
HSLhsl(272, 48%, 46%)
HSVhsv(272, 65%, 69%)
CMYKcmyk(30.3%, 64.6%, 0%, 31.4%)
CIE-LABlab(39.03, 47.15, -50.34)
CIE-LCHlch(39.03, 68.98, 313.13°)
OKLaboklab(49.49% 0.101 -0.1426)
OKLCHoklch(49.49% 0.175 305.3)
XYZxyz(17.4848, 10.6781, 41.6891)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EAF #73AF3E
analogous
#423EAF #7A3EAF #AF3EAC
triadic
#7A3EAF #AF7A3E #3EAF7A
tetradic
#7A3EAF #AF423E #73AF3E #3EACAF
square
#7A3EAF #AF423E #73AF3E #3EACAF
split-complementary
#7A3EAF #ACAF3E #3EAF42
monochromatic
#3B1E55 #5A2E82 #7A3EAF #9863C8 #B690D8

Accessibility & contrast

On white

6.70
#7A3EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7A3EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EAF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EAF#FFFFFF#000000##FFFFFF
##7A3EAF1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#715671
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3eaf;
/* rgb */ color: rgb(122, 62, 175);
/* oklch */ color: oklch(49.5% 0.175 305.3);
Tailwind
colors: {
  custom: {
    50: '#a477c8',
    500: '#7a3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #7a3eaf;
$custom-light: #a477c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3eaf",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 271.858,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49489,
    "c": 0.17473,
    "h": 305.3
  },
  "luminance": 0.10678
}

Semantic roles & 50–950 ramp

primary
#7A3EAF
secondary
#A3C386
accent
#D75190
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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