#7A3FC4#7A3FC4

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

Color values

HEX#7A3FC4
RGBrgb(122, 63, 196)
HSLhsl(267, 53%, 51%)
HSVhsv(267, 68%, 77%)
CMYKcmyk(37.8%, 67.9%, 0%, 23.1%)
CIE-LABlab(40.70, 51.83, -59.99)
CIE-LCHlch(40.70, 79.28, 310.83°)
OKLaboklab(51.16% 0.0976 -0.171)
OKLCHoklch(51.16% 0.197 299.7)
XYZxyz(19.7649, 11.6779, 53.4266)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FC4 #89C43F
analogous
#3F46C4 #7A3FC4 #BD3FC4
triadic
#7A3FC4 #C47A3F #3FC47A
tetradic
#7A3FC4 #C43F46 #89C43F #3FC4BD
square
#7A3FC4 #C43F46 #89C43F #3FC4BD
split-complementary
#7A3FC4 #C4BD3F #46C43F
monochromatic
#402068 #5D2E97 #7A3FC4 #9A6ED2 #BB9DE1

Accessibility & contrast

On white

6.30
#7A3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A3FC4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FC4#FFFFFF#000000##FFFFFF
##7A3FC41.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#695E7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3fc4;
/* rgb */ color: rgb(122, 63, 196);
/* oklch */ color: oklch(51.2% 0.197 299.7);
Tailwind
colors: {
  custom: {
    50: '#a678d7',
    500: '#7a3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fc4;
$custom-light: #a678d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fc4",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 266.617,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51157,
    "c": 0.19688,
    "h": 299.7
  },
  "luminance": 0.11678
}

Semantic roles & 50–950 ramp

primary
#7A3FC4
secondary
#B3CD92
accent
#DC4B9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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