#7A4BDA#7A4BDA

#7A4BDA is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.207 H 293.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7A4BDA
RGBrgb(122, 75, 218)
HSLhsl(260, 66%, 57%)
HSVhsv(260, 66%, 85%)
CMYKcmyk(44%, 65.6%, 0%, 14.5%)
CIE-LABlab(44.56, 51.40, -66.40)
CIE-LCHlch(44.56, 83.97, 307.74°)
OKLaboklab(54.44% 0.0823 -0.1899)
OKLCHoklch(54.44% 0.207 293.4)
XYZxyz(23.1936, 14.2310, 67.8409)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BDA #ABDA4B
analogous
#4B64DA #7A4BDA #C14BDA
triadic
#7A4BDA #DA7A4B #4BDA7A
tetradic
#7A4BDA #DA4B64 #ABDA4B #4BDAC1
square
#7A4BDA #DA4B64 #ABDA4B #4BDAC1
split-complementary
#7A4BDA #DAC14B #64DA4B
monochromatic
#421D8E #5A28C0 #7A4BDA #A07EE4 #C5B1EF

Accessibility & contrast

On white

5.46
#7A4BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7A4BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BDA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BDA#FFFFFF#000000##FFFFFF
##7A4BDA1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#5F6D8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a4bda;
/* rgb */ color: rgb(122, 75, 218);
/* oklch */ color: oklch(54.4% 0.207 293.4);
Tailwind
colors: {
  custom: {
    50: '#a880e6',
    500: '#7a4bda',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bda;
$custom-light: #a880e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bda",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 259.72,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54441,
    "c": 0.20693,
    "h": 293.4
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#7A4BDA
secondary
#CADDA4
accent
#E93FB1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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