#7A4BB9#7A4BB9

#7A4BB9 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.168 H 300.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7A4BB9
RGBrgb(122, 75, 185)
HSLhsl(266, 44%, 51%)
HSVhsv(266, 59%, 73%)
CMYKcmyk(34.1%, 59.5%, 0%, 27.5%)
CIE-LABlab(42.27, 42.72, -51.03)
CIE-LCHlch(42.27, 66.56, 309.94°)
OKLaboklab(52.05% 0.0847 -0.1447)
OKLCHoklch(52.05% 0.168 300.4)
XYZxyz(19.2970, 12.6724, 47.3189)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BB9 #8AB94B
analogous
#4B53B9 #7A4BB9 #B14BB9
triadic
#7A4BB9 #B97A4B #4BB97A
tetradic
#7A4BB9 #B94B53 #8AB94B #4BB9B1
square
#7A4BB9 #B94B53 #8AB94B #4BB9B1
split-complementary
#7A4BB9 #B9B14B #53B94B
monochromatic
#402763 #5D388F #7A4BB9 #9B77CA #BBA3DB

Accessibility & contrast

On white

5.94
#7A4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7A4BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BB9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BB9#FFFFFF#000000##FFFFFF
##7A4BB91.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E63BD
Deuteranopia (green-blind)
#2863B7
Tritanopia (blue-blind)
#6D627B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a4bb9;
/* rgb */ color: rgb(122, 75, 185);
/* oklch */ color: oklch(52.0% 0.168 300.4);
Tailwind
colors: {
  custom: {
    50: '#a47fcf',
    500: '#7a4bb9',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bb9;
$custom-light: #a47fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bb9",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 265.636,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.16766,
    "h": 300.4
  },
  "luminance": 0.12673
}

Semantic roles & 50–950 ramp

primary
#7A4BB9
secondary
#B3C898
accent
#D4549D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7A4BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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