#7A3FC5#7A3FC5

#7A3FC5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.198 H 299.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7A3FC5
RGBrgb(122, 63, 197)
HSLhsl(266, 54%, 51%)
HSVhsv(266, 68%, 77%)
CMYKcmyk(38.1%, 68%, 0%, 22.7%)
CIE-LABlab(40.77, 52.08, -60.45)
CIE-LCHlch(40.77, 79.79, 310.75°)
OKLaboklab(51.23% 0.0975 -0.1723)
OKLCHoklch(51.23% 0.198 299.5)
XYZxyz(19.8791, 11.7236, 54.0281)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FC5 #8AC53F
analogous
#3F47C5 #7A3FC5 #BD3FC5
triadic
#7A3FC5 #C57A3F #3FC57A
tetradic
#7A3FC5 #C53F47 #8AC53F #3FC5BD
square
#7A3FC5 #C53F47 #8AC53F #3FC5BD
split-complementary
#7A3FC5 #C5BD3F #47C53F
monochromatic
#40206A #5D2E99 #7A3FC5 #9B6ED3 #BB9DE1

Accessibility & contrast

On white

6.28
#7A3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7A3FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FC5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FC5#FFFFFF#000000##FFFFFF
##7A3FC51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#695F7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3fc5;
/* rgb */ color: rgb(122, 63, 197);
/* oklch */ color: oklch(51.2% 0.198 299.5);
Tailwind
colors: {
  custom: {
    50: '#a678d7',
    500: '#7a3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fc5;
$custom-light: #a678d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fc5",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 266.418,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.19798,
    "h": 299.5
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#7A3FC5
secondary
#B3CE92
accent
#DD4B9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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