#7A4FBD#7A4FBD

#7A4FBD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.167 H 298.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7A4FBD
RGBrgb(122, 79, 189)
HSLhsl(263, 45%, 53%)
HSVhsv(263, 58%, 74%)
CMYKcmyk(35.4%, 58.2%, 0%, 25.9%)
CIE-LABlab(43.36, 41.54, -51.60)
CIE-LCHlch(43.36, 66.24, 308.83°)
OKLaboklab(52.94% 0.0797 -0.1464)
OKLCHoklch(52.94% 0.167 298.6)
XYZxyz(20.0051, 13.4034, 49.6674)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FBD #92BD4F
analogous
#4F5BBD #7A4FBD #B14FBD
triadic
#7A4FBD #BD7A4F #4FBD7A
tetradic
#7A4FBD #BD4F5B #92BD4F #4FBDB1
square
#7A4FBD #BD4F5B #92BD4F #4FBDB1
split-complementary
#7A4FBD #BDB14F #5BBD4F
monochromatic
#42286A #5D3896 #7A4FBD #9C7CCE #BDA8DE

Accessibility & contrast

On white

5.71
#7A4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7A4FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FBD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FBD#FFFFFF#000000##FFFFFF
##7A4FBD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C1
Deuteranopia (green-blind)
#2A65BB
Tritanopia (blue-blind)
#6B667E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a4fbd;
/* rgb */ color: rgb(122, 79, 189);
/* oklch */ color: oklch(52.9% 0.167 298.6);
Tailwind
colors: {
  custom: {
    50: '#a482d1',
    500: '#7a4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fbd;
$custom-light: #a482d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fbd",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 263.455,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.16666,
    "h": 298.6
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#7A4FBD
secondary
#B9CC9C
accent
#D553A2
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7A4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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