#7A3FA5#7A3FA5

#7A3FA5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.162 H 308.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7A3FA5
RGBrgb(122, 63, 165)
HSLhsl(275, 45%, 45%)
HSVhsv(275, 62%, 65%)
CMYKcmyk(26.1%, 61.8%, 0%, 35.3%)
CIE-LABlab(38.57, 44.25, -45.14)
CIE-LCHlch(38.57, 63.21, 314.43°)
OKLaboklab(48.94% 0.1002 -0.1273)
OKLCHoklch(48.94% 0.162 308.2)
XYZxyz(16.5937, 10.4094, 36.7251)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FA5 #6AA53F
analogous
#473FA5 #7A3FA5 #A53F9D
triadic
#7A3FA5 #A57A3F #3FA57A
tetradic
#7A3FA5 #A5473F #6AA53F #3F9DA5
square
#7A3FA5 #A5473F #6AA53F #3F9DA5
split-complementary
#7A3FA5 #9DA53F #3FA547
monochromatic
#391D4C #592E79 #7A3FA5 #985FC2 #B58CD3

Accessibility & contrast

On white

6.81
#7A3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7A3FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FA5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FA5#FFFFFF#000000##FFFFFF
##7A3FA51.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A8
Deuteranopia (green-blind)
#2F5BA3
Tritanopia (blue-blind)
#74536C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a3fa5;
/* rgb */ color: rgb(122, 63, 165);
/* oklch */ color: oklch(48.9% 0.162 308.2);
Tailwind
colors: {
  custom: {
    50: '#a477c0',
    500: '#7a3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fa5;
$custom-light: #a477c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fa5",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 274.706,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48942,
    "c": 0.16203,
    "h": 308.2
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#7A3FA5
secondary
#9BBE82
accent
#D4538A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7A3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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