#7A4BC0#7A4BC0

#7A4BC0 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.176 H 298.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7A4BC0
RGBrgb(122, 75, 192)
HSLhsl(264, 48%, 52%)
HSVhsv(264, 61%, 75%)
CMYKcmyk(36.5%, 60.9%, 0%, 24.7%)
CIE-LABlab(42.73, 44.53, -54.38)
CIE-LCHlch(42.73, 70.29, 309.31°)
OKLaboklab(52.53% 0.0845 -0.1545)
OKLCHoklch(52.53% 0.176 298.7)
XYZxyz(20.0542, 12.9753, 51.3069)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BC0 #91C04B
analogous
#4B56C0 #7A4BC0 #B54BC0
triadic
#7A4BC0 #C07A4B #4BC07A
tetradic
#7A4BC0 #C04B56 #91C04B #4BC0B5
square
#7A4BC0 #C04B56 #91C04B #4BC0B5
split-complementary
#7A4BC0 #C0B54B #56C04B
monochromatic
#41256B #5D3598 #7A4BC0 #9B78D0 #BDA6E0

Accessibility & contrast

On white

5.84
#7A4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7A4BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BC0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BC0#FFFFFF#000000##FFFFFF
##7A4BC01.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#1C64BD
Tritanopia (blue-blind)
#6A647E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a4bc0;
/* rgb */ color: rgb(122, 75, 192);
/* oklch */ color: oklch(52.5% 0.176 298.7);
Tailwind
colors: {
  custom: {
    50: '#a57fd4',
    500: '#7a4bc0',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bc0;
$custom-light: #a57fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bc0",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 264.103,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.17612,
    "h": 298.7
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#7A4BC0
secondary
#B8CD9A
accent
#D850A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A4BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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