#7A4BAE#7A4BAE

#7A4BAE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.154 H 303.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7A4BAE
RGBrgb(122, 75, 174)
HSLhsl(268, 40%, 49%)
HSVhsv(268, 57%, 68%)
CMYKcmyk(29.9%, 56.9%, 0%, 31.8%)
CIE-LABlab(41.57, 39.93, -45.67)
CIE-LCHlch(41.57, 60.67, 311.16°)
OKLaboklab(51.32% 0.0847 -0.1289)
OKLCHoklch(51.32% 0.154 303.3)
XYZxyz(18.1804, 12.2257, 41.4382)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BAE #7FAE4B
analogous
#4B4EAE #7A4BAE #AC4BAE
triadic
#7A4BAE #AE7A4B #4BAE7A
tetradic
#7A4BAE #AE4B4E #7FAE4B #4BAEAC
square
#7A4BAE #AE4B4E #7FAE4B #4BAEAC
split-complementary
#7A4BAE #AEAC4B #4EAE4B
monochromatic
#3E2658 #5C3983 #7A4BAE #9973C3 #B89ED5

Accessibility & contrast

On white

6.10
#7A4BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7A4BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BAE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BAE#FFFFFF#000000##FFFFFF
##7A4BAE1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#705E75
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a4bae;
/* rgb */ color: rgb(122, 75, 174);
/* oklch */ color: oklch(51.3% 0.154 303.3);
Tailwind
colors: {
  custom: {
    50: '#a47fc7',
    500: '#7a4bae',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bae;
$custom-light: #a47fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bae",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 268.485,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51318,
    "c": 0.15428,
    "h": 303.3
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#7A4BAE
secondary
#ACC293
accent
#D05897
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7A4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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