#7A4EAF#7A4EAF

#7A4EAF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.151 H 302.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7A4EAF
RGBrgb(122, 78, 175)
HSLhsl(267, 38%, 50%)
HSVhsv(267, 55%, 69%)
CMYKcmyk(30.3%, 55.4%, 0%, 31.4%)
CIE-LABlab(42.28, 38.49, -45.13)
CIE-LCHlch(42.28, 59.32, 310.46°)
OKLaboklab(51.86% 0.0808 -0.1274)
OKLCHoklch(51.86% 0.151 302.4)
XYZxyz(18.4865, 12.6815, 42.0230)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EAF #83AF4E
analogous
#4E53AF #7A4EAF #AA4EAF
triadic
#7A4EAF #AF7A4E #4EAF7A
tetradic
#7A4EAF #AF4E53 #83AF4E #4EAFAA
square
#7A4EAF #AF4E53 #83AF4E #4EAFAA
split-complementary
#7A4EAF #AFAA4E #53AF4E
monochromatic
#3F285A #5C3B85 #7A4EAF #9A78C3 #B9A2D6

Accessibility & contrast

On white

5.94
#7A4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7A4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EAF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EAF#FFFFFF#000000##FFFFFF
##7A4EAF1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#3863AD
Tritanopia (blue-blind)
#706177
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a4eaf;
/* rgb */ color: rgb(122, 78, 175);
/* oklch */ color: oklch(51.9% 0.151 302.4);
Tailwind
colors: {
  custom: {
    50: '#a381c7',
    500: '#7a4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #7a4eaf;
$custom-light: #a381c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4eaf",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 267.216,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.15083,
    "h": 302.4
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#7A4EAF
secondary
#AEC396
accent
#CE5A99
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7A4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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