#7A4BC4#7A4BC4

#7A4BC4 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.181 H 297.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7A4BC4
RGBrgb(122, 75, 196)
HSLhsl(263, 51%, 53%)
HSVhsv(263, 62%, 77%)
CMYKcmyk(37.8%, 61.7%, 0%, 23.1%)
CIE-LABlab(43.00, 45.58, -56.27)
CIE-LCHlch(43.00, 72.41, 309.01°)
OKLaboklab(52.81% 0.0843 -0.1601)
OKLCHoklch(52.81% 0.181 297.8)
XYZxyz(20.5034, 13.1550, 53.6728)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BC4 #95C44B
analogous
#4B58C4 #7A4BC4 #B74BC4
triadic
#7A4BC4 #C47A4B #4BC47A
tetradic
#7A4BC4 #C44B58 #95C44B #4BC4B7
square
#7A4BC4 #C44B58 #95C44B #4BC4B7
split-complementary
#7A4BC4 #C4B74B #58C44B
monochromatic
#422570 #5D349E #7A4BC4 #9C79D3 #BEA7E2

Accessibility & contrast

On white

5.78
#7A4BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7A4BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BC4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BC4#FFFFFF#000000##FFFFFF
##7A4BC41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#1264C1
Tritanopia (blue-blind)
#696680
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a4bc4;
/* rgb */ color: rgb(122, 75, 196);
/* oklch */ color: oklch(52.8% 0.181 297.8);
Tailwind
colors: {
  custom: {
    50: '#a580d7',
    500: '#7a4bc4',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bc4;
$custom-light: #a580d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bc4",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 263.306,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.18092,
    "h": 297.8
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A4BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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