#7A4BC7#7A4BC7

#7A4BC7 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.185 H 297.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7A4BC7
RGBrgb(122, 75, 199)
HSLhsl(263, 53%, 54%)
HSVhsv(263, 62%, 78%)
CMYKcmyk(38.7%, 62.3%, 0%, 22%)
CIE-LABlab(43.20, 46.36, -57.68)
CIE-LCHlch(43.20, 74.00, 308.79°)
OKLaboklab(53.03% 0.0841 -0.1642)
OKLCHoklch(53.03% 0.185 297.1)
XYZxyz(20.8483, 13.2929, 55.4891)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BC7 #98C74B
analogous
#4B5AC7 #7A4BC7 #B84BC7
triadic
#7A4BC7 #C77A4B #4BC77A
tetradic
#7A4BC7 #C74B5A #98C74B #4BC7B8
square
#7A4BC7 #C74B5A #98C74B #4BC7B8
split-complementary
#7A4BC7 #C7B84B #5AC74B
monochromatic
#422474 #5D32A2 #7A4BC7 #9C7AD6 #BFA8E4

Accessibility & contrast

On white

5.74
#7A4BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7A4BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BC7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BC7#FFFFFF#000000##FFFFFF
##7A4BC71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0665C4
Tritanopia (blue-blind)
#676782
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a4bc7;
/* rgb */ color: rgb(122, 75, 199);
/* oklch */ color: oklch(53.0% 0.185 297.1);
Tailwind
colors: {
  custom: {
    50: '#a680d9',
    500: '#7a4bc7',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bc7;
$custom-light: #a680d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bc7",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 262.742,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53028,
    "c": 0.18451,
    "h": 297.1
  },
  "luminance": 0.13293
}

Semantic roles & 50–950 ramp

primary
#7A4BC7
secondary
#BDD19C
accent
#DC4CA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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