#7A4FCC#7A4FCC

#7A4FCC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.185 H 295.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7A4FCC
RGBrgb(122, 79, 204)
HSLhsl(261, 55%, 55%)
HSVhsv(261, 61%, 80%)
CMYKcmyk(40.2%, 61.3%, 0%, 20%)
CIE-LABlab(44.36, 45.51, -58.70)
CIE-LCHlch(44.36, 74.27, 307.79°)
OKLaboklab(53.98% 0.0792 -0.1672)
OKLCHoklch(53.98% 0.185 295.4)
XYZxyz(21.7182, 14.0887, 58.6902)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FCC #A1CC4F
analogous
#4F62CC #7A4FCC #B84FCC
triadic
#7A4FCC #CC7A4F #4FCC7A
tetradic
#7A4FCC #CC4F62 #A1CC4F #4FCCB8
square
#7A4FCC #CC4F62 #A1CC4F #4FCCB8
split-complementary
#7A4FCC #CCB84F #62CC4F
monochromatic
#43247D #5C32AC #7A4FCC #9E7EDA #C2AEE7

Accessibility & contrast

On white

5.50
#7A4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7A4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FCC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FCC#FFFFFF#000000##FFFFFF
##7A4FCC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0467C9
Tritanopia (blue-blind)
#656B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a4fcc;
/* rgb */ color: rgb(122, 79, 204);
/* oklch */ color: oklch(54.0% 0.185 295.4);
Tailwind
colors: {
  custom: {
    50: '#a682dc',
    500: '#7a4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fcc;
$custom-light: #a682dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fcc",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 260.64,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53979,
    "c": 0.18504,
    "h": 295.4
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

primary
#7A4FCC
secondary
#C4D5A1
accent
#DE49AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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