#7A4CB7#7A4CB7

#7A4CB7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.164 H 300.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7A4CB7
RGBrgb(122, 76, 183)
HSLhsl(266, 43%, 51%)
HSVhsv(266, 58%, 72%)
CMYKcmyk(33.3%, 58.5%, 0%, 28.2%)
CIE-LABlab(42.35, 41.66, -49.73)
CIE-LCHlch(42.35, 64.87, 309.95°)
OKLaboklab(52.07% 0.0835 -0.1409)
OKLCHoklch(52.07% 0.164 300.7)
XYZxyz(19.1557, 12.7252, 46.2376)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CB7 #89B74C
analogous
#4C54B7 #7A4CB7 #AF4CB7
triadic
#7A4CB7 #B77A4C #4CB77A
tetradic
#7A4CB7 #B74C54 #89B74C #4CB7AF
square
#7A4CB7 #B74C54 #89B74C #4CB7AF
split-complementary
#7A4CB7 #B7AF4C #54B74C
monochromatic
#402761 #5D398D #7A4CB7 #9A78C9 #BBA3DA

Accessibility & contrast

On white

5.92
#7A4CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7A4CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CB7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CB7#FFFFFF#000000##FFFFFF
##7A4CB71.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1763BA
Deuteranopia (green-blind)
#2D63B5
Tritanopia (blue-blind)
#6D627A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a4cb7;
/* rgb */ color: rgb(122, 76, 183);
/* oklch */ color: oklch(52.1% 0.164 300.7);
Tailwind
colors: {
  custom: {
    50: '#a480cd',
    500: '#7a4cb7',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cb7;
$custom-light: #a480cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cb7",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 265.794,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.16375,
    "h": 300.7
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#7A4CB7
secondary
#B3C798
accent
#D2559D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7A4CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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