#7A4DCF#7A4DCF

#7A4DCF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.191 H 295.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7A4DCF
RGBrgb(122, 77, 207)
HSLhsl(261, 58%, 56%)
HSVhsv(261, 63%, 81%)
CMYKcmyk(41.1%, 62.8%, 0%, 18.8%)
CIE-LABlab(44.16, 47.40, -60.75)
CIE-LCHlch(44.16, 77.05, 307.96°)
OKLaboklab(53.9% 0.0813 -0.1732)
OKLCHoklch(53.9% 0.191 295.1)
XYZxyz(21.9394, 13.9498, 60.5561)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DCF #A2CF4D
analogous
#4D61CF #7A4DCF #BB4DCF
triadic
#7A4DCF #CF7A4D #4DCF7A
tetradic
#7A4DCF #CF4D61 #A2CF4D #4DCFBB
square
#7A4DCF #CF4D61 #A2CF4D #4DCFBB
split-complementary
#7A4DCF #CFBB4D #61CF4D
monochromatic
#42227F #5C2FAF #7A4DCF #9E7DDC #C2ADE9

Accessibility & contrast

On white

5.54
#7A4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7A4DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DCF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DCF#FFFFFF#000000##FFFFFF
##7A4DCF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#646B87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a4dcf;
/* rgb */ color: rgb(122, 77, 207);
/* oklch */ color: oklch(53.9% 0.191 295.1);
Tailwind
colors: {
  custom: {
    50: '#a681de',
    500: '#7a4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #7a4dcf;
$custom-light: #a681de;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4dcf",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 260.769,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.539,
    "c": 0.19136,
    "h": 295.1
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#7A4DCF
secondary
#C4D7A1
accent
#E147AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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