#7A4BD8#7A4BD8

#7A4BD8 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.205 H 293.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7A4BD8
RGBrgb(122, 75, 216)
HSLhsl(260, 64%, 57%)
HSVhsv(260, 65%, 85%)
CMYKcmyk(43.5%, 65.3%, 0%, 15.3%)
CIE-LABlab(44.41, 50.87, -65.50)
CIE-LCHlch(44.41, 82.93, 307.83°)
OKLaboklab(54.29% 0.0825 -0.1872)
OKLCHoklch(54.29% 0.205 293.8)
XYZxyz(22.9334, 14.1270, 66.4709)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BD8 #A9D84B
analogous
#4B63D8 #7A4BD8 #C14BD8
triadic
#7A4BD8 #D87A4B #4BD87A
tetradic
#7A4BD8 #D84B63 #A9D84B #4BD8C1
square
#7A4BD8 #D84B63 #A9D84B #4BD8C1
split-complementary
#7A4BD8 #D8C14B #63D84B
monochromatic
#421E8B #5A29BD #7A4BD8 #9F7DE3 #C4B0EE

Accessibility & contrast

On white

5.49
#7A4BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7A4BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BD8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BD8#FFFFFF#000000##FFFFFF
##7A4BD81.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#606D8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a4bd8;
/* rgb */ color: rgb(122, 75, 216);
/* oklch */ color: oklch(54.3% 0.205 293.8);
Tailwind
colors: {
  custom: {
    50: '#a780e5',
    500: '#7a4bd8',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bd8;
$custom-light: #a780e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bd8",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 260,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54288,
    "c": 0.20459,
    "h": 293.8
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

primary
#7A4BD8
secondary
#C9DCA3
accent
#E740B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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