#7A4CAF#7A4CAF

#7A4CAF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.154 H 302.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7A4CAF
RGBrgb(122, 76, 175)
HSLhsl(268, 39%, 49%)
HSVhsv(268, 57%, 69%)
CMYKcmyk(30.3%, 56.6%, 0%, 31.4%)
CIE-LABlab(41.85, 39.62, -45.82)
CIE-LCHlch(41.85, 60.58, 310.85°)
OKLaboklab(51.54% 0.0834 -0.1294)
OKLCHoklch(51.54% 0.154 302.8)
XYZxyz(18.3466, 12.4016, 41.9763)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CAF #81AF4C
analogous
#4C50AF #7A4CAF #AC4CAF
triadic
#7A4CAF #AF7A4C #4CAF7A
tetradic
#7A4CAF #AF4C50 #81AF4C #4CAFAC
square
#7A4CAF #AF4C50 #81AF4C #4CAFAC
split-complementary
#7A4CAF #AFAC4C #50AF4C
monochromatic
#3F275A #5C3984 #7A4CAF #9975C3 #B9A0D6

Accessibility & contrast

On white

6.03
#7A4CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7A4CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CAF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CAF#FFFFFF#000000##FFFFFF
##7A4CAF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#3562AD
Tritanopia (blue-blind)
#705F76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a4caf;
/* rgb */ color: rgb(122, 76, 175);
/* oklch */ color: oklch(51.5% 0.154 302.8);
Tailwind
colors: {
  custom: {
    50: '#a480c7',
    500: '#7a4caf',
    950: '#000000',
  },
}
SCSS
$custom: #7a4caf;
$custom-light: #a480c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4caf",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 267.879,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.15395,
    "h": 302.8
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#7A4CAF
secondary
#ADC294
accent
#CF5898
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7A4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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