#7A4CC9#7A4CC9

#7A4CC9 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.186 H 296.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7A4CC9
RGBrgb(122, 76, 201)
HSLhsl(262, 54%, 54%)
HSVhsv(262, 62%, 79%)
CMYKcmyk(39.3%, 62.2%, 0%, 21.2%)
CIE-LABlab(43.54, 46.35, -58.29)
CIE-LCHlch(43.54, 74.47, 308.49°)
OKLaboklab(53.32% 0.0828 -0.166)
OKLCHoklch(53.32% 0.186 296.5)
XYZxyz(21.1504, 13.5231, 56.7429)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CC9 #9BC94C
analogous
#4C5DC9 #7A4CC9 #B94CC9
triadic
#7A4CC9 #C97A4C #4CC97A
tetradic
#7A4CC9 #C94C5D #9BC94C #4CC9B9
square
#7A4CC9 #C94C5D #9BC94C #4CC9B9
split-complementary
#7A4CC9 #C9B94C #5DC94C
monochromatic
#422477 #5D32A6 #7A4CC9 #9D7BD7 #C0AAE5

Accessibility & contrast

On white

5.67
#7A4CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7A4CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CC9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CC9#FFFFFF#000000##FFFFFF
##7A4CC91.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#0265C6
Tritanopia (blue-blind)
#676883
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a4cc9;
/* rgb */ color: rgb(122, 76, 201);
/* oklch */ color: oklch(53.3% 0.186 296.5);
Tailwind
colors: {
  custom: {
    50: '#a680da',
    500: '#7a4cc9',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cc9;
$custom-light: #a680da;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cc9",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 262.08,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53318,
    "c": 0.18553,
    "h": 296.5
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#7A4CC9
secondary
#BFD39E
accent
#DD4BA7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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