#7A4BC1#7A4BC1

#7A4BC1 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.177 H 298.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7A4BC1
RGBrgb(122, 75, 193)
HSLhsl(264, 49%, 53%)
HSVhsv(264, 61%, 76%)
CMYKcmyk(36.8%, 61.1%, 0%, 24.3%)
CIE-LABlab(42.79, 44.80, -54.86)
CIE-LCHlch(42.79, 70.82, 309.23°)
OKLaboklab(52.6% 0.0845 -0.1559)
OKLCHoklch(52.6% 0.177 298.4)
XYZxyz(20.1654, 13.0197, 51.8924)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BC1 #92C14B
analogous
#4B57C1 #7A4BC1 #B54BC1
triadic
#7A4BC1 #C17A4B #4BC17A
tetradic
#7A4BC1 #C14B57 #92C14B #4BC1B5
square
#7A4BC1 #C14B57 #92C14B #4BC1B5
split-complementary
#7A4BC1 #C1B54B #57C14B
monochromatic
#42256C #5D359A #7A4BC1 #9C79D1 #BDA6E0

Accessibility & contrast

On white

5.83
#7A4BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A4BC1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BC1#FFFFFF#000000##FFFFFF
##7A4BC11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#1A64BE
Tritanopia (blue-blind)
#6A657F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a4bc1;
/* rgb */ color: rgb(122, 75, 193);
/* oklch */ color: oklch(52.6% 0.177 298.4);
Tailwind
colors: {
  custom: {
    50: '#a57fd4',
    500: '#7a4bc1',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bc1;
$custom-light: #a57fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bc1",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 263.898,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.17732,
    "h": 298.4
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#7A4BC1
secondary
#B9CE9A
accent
#D84FA2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A4BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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