#7A4BD1#7A4BD1

#7A4BD1 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.196 H 295.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7A4BD1
RGBrgb(122, 75, 209)
HSLhsl(261, 59%, 56%)
HSVhsv(261, 64%, 82%)
CMYKcmyk(41.6%, 64.1%, 0%, 18%)
CIE-LABlab(43.91, 49.00, -62.31)
CIE-LCHlch(43.91, 79.27, 308.18°)
OKLaboklab(53.76% 0.0833 -0.1778)
OKLCHoklch(53.76% 0.196 295.1)
XYZxyz(22.0477, 13.7727, 61.8060)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BD1 #A2D14B
analogous
#4B5FD1 #7A4BD1 #BD4BD1
triadic
#7A4BD1 #D17A4B #4BD17A
tetradic
#7A4BD1 #D14B5F #A2D14B #4BD1BD
square
#7A4BD1 #D14B5F #A2D14B #4BD1BD
split-complementary
#7A4BD1 #D1BD4B #5FD14B
monochromatic
#422181 #5C2DB1 #7A4BD1 #9E7CDD #C2ACEA

Accessibility & contrast

On white

5.59
#7A4BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7A4BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BD1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BD1#FFFFFF#000000##FFFFFF
##7A4BD11.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#636A87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a4bd1;
/* rgb */ color: rgb(122, 75, 209);
/* oklch */ color: oklch(53.8% 0.196 295.1);
Tailwind
colors: {
  custom: {
    50: '#a780e0',
    500: '#7a4bd1',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bd1;
$custom-light: #a780e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bd1",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 261.045,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5376,
    "c": 0.19637,
    "h": 295.1
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#7A4BD1
secondary
#C4D8A0
accent
#E245AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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