#7A4BC5#7A4BC5

#7A4BC5 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.182 H 297.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7A4BC5
RGBrgb(122, 75, 197)
HSLhsl(263, 51%, 53%)
HSVhsv(263, 62%, 77%)
CMYKcmyk(38.1%, 61.9%, 0%, 22.7%)
CIE-LABlab(43.06, 45.84, -56.74)
CIE-LCHlch(43.06, 72.95, 308.93°)
OKLaboklab(52.88% 0.0842 -0.1615)
OKLCHoklch(52.88% 0.182 297.6)
XYZxyz(20.6176, 13.2006, 54.2742)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4BC5 #96C54B
analogous
#4B59C5 #7A4BC5 #B74BC5
triadic
#7A4BC5 #C57A4B #4BC57A
tetradic
#7A4BC5 #C54B59 #96C54B #4BC5B7
square
#7A4BC5 #C54B59 #96C54B #4BC5B7
split-complementary
#7A4BC5 #C5B74B #59C54B
monochromatic
#422471 #5D339F #7A4BC5 #9C79D4 #BEA8E3

Accessibility & contrast

On white

5.77
#7A4BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7A4BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4BC5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4BC5#FFFFFF#000000##FFFFFF
##7A4BC51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0F64C2
Tritanopia (blue-blind)
#686681
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a4bc5;
/* rgb */ color: rgb(122, 75, 197);
/* oklch */ color: oklch(52.9% 0.182 297.6);
Tailwind
colors: {
  custom: {
    50: '#a580d7',
    500: '#7a4bc5',
    950: '#000000',
  },
}
SCSS
$custom: #7a4bc5;
$custom-light: #a580d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4bc5",
  "rgb": {
    "r": 122,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 263.115,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.18211,
    "h": 297.6
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#7A4BC5
secondary
#BCD09C
accent
#DB4DA4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A4BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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