#7A4BC3#7A4BC3

#7A4BC3 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.180 H 298.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7A4BC3
RGBrgb(122, 75, 195)
HSLhsl(264, 50%, 53%)
HSVhsv(264, 62%, 76%)
CMYKcmyk(37.4%, 61.5%, 0%, 23.5%)
CIE-LABlab(42.93, 45.32, -55.80)
CIE-LCHlch(42.93, 71.88, 309.08°)
OKLaboklab(52.74% 0.0844 -0.1587)
OKLCHoklch(52.74% 0.18 298)
XYZxyz(20.3900, 13.1096, 53.0753)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BC3 #94C34B
analogous
#4B58C3 #7A4BC3 #B64BC3
triadic
#7A4BC3 #C37A4B #4BC37A
tetradic
#7A4BC3 #C34B58 #94C34B #4BC3B6
square
#7A4BC3 #C34B58 #94C34B #4BC3B6
split-complementary
#7A4BC3 #C3B64B #58C34B
monochromatic
#42256F #5D349D #7A4BC3 #9C79D2 #BEA7E2

Accessibility & contrast

On white

5.80
#7A4BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7A4BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BC3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BC3#FFFFFF#000000##FFFFFF
##7A4BC31.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#1564C0
Tritanopia (blue-blind)
#696580
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a4bc3;
/* rgb */ color: rgb(122, 75, 195);
/* oklch */ color: oklch(52.7% 0.180 298.0);
Tailwind
colors: {
  custom: {
    50: '#a57fd6',
    500: '#7a4bc3',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bc3;
$custom-light: #a57fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bc3",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 263.5,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.17971,
    "h": 298
  },
  "luminance": 0.1311
}

Semantic roles & 50–950 ramp

primary
#7A4BC3
secondary
#BBCF9B
accent
#DA4EA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A4BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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