#7A4BBE#7A4BBE

#7A4BBE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.174 H 299.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7A4BBE
RGBrgb(122, 75, 190)
HSLhsl(265, 47%, 52%)
HSVhsv(265, 61%, 75%)
CMYKcmyk(35.8%, 60.5%, 0%, 25.5%)
CIE-LABlab(42.59, 44.02, -53.43)
CIE-LCHlch(42.59, 69.23, 309.48°)
OKLaboklab(52.39% 0.0846 -0.1517)
OKLCHoklch(52.39% 0.174 299.1)
XYZxyz(19.8341, 12.8872, 50.1477)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BBE #8FBE4B
analogous
#4B56BE #7A4BBE #B44BBE
triadic
#7A4BBE #BE7A4B #4BBE7A
tetradic
#7A4BBE #BE4B56 #8FBE4B #4BBEB4
square
#7A4BBE #BE4B56 #8FBE4B #4BBEB4
split-complementary
#7A4BBE #BEB44B #56BE4B
monochromatic
#412669 #5D3696 #7A4BBE #9B78CE #BCA5DE

Accessibility & contrast

On white

5.87
#7A4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7A4BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BBE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BBE#FFFFFF#000000##FFFFFF
##7A4BBE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2064BB
Tritanopia (blue-blind)
#6B647D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a4bbe;
/* rgb */ color: rgb(122, 75, 190);
/* oklch */ color: oklch(52.4% 0.174 299.1);
Tailwind
colors: {
  custom: {
    50: '#a57fd2',
    500: '#7a4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bbe;
$custom-light: #a57fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bbe",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 264.522,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.1737,
    "h": 299.1
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#7A4BBE
secondary
#B7CC99
accent
#D751A0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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