#7A3FC3#7A3FC3

#7A3FC3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.196 H 300.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7A3FC3
RGBrgb(122, 63, 195)
HSLhsl(267, 52%, 51%)
HSVhsv(267, 68%, 76%)
CMYKcmyk(37.4%, 67.7%, 0%, 23.5%)
CIE-LABlab(40.63, 51.58, -59.53)
CIE-LCHlch(40.63, 78.76, 310.91°)
OKLaboklab(51.08% 0.0977 -0.1696)
OKLCHoklch(51.08% 0.196 300)
XYZxyz(19.6514, 11.6325, 52.8292)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FC3 #88C33F
analogous
#3F46C3 #7A3FC3 #BC3FC3
triadic
#7A3FC3 #C37A3F #3FC37A
tetradic
#7A3FC3 #C33F46 #88C33F #3FC3BC
square
#7A3FC3 #C33F46 #88C33F #3FC3BC
split-complementary
#7A3FC3 #C3BC3F #46C33F
monochromatic
#402067 #5D2F96 #7A3FC3 #9A6ED2 #BB9CE0

Accessibility & contrast

On white

6.31
#7A3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7A3FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FC3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FC3#FFFFFF#000000##FFFFFF
##7A3FC31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#6A5E7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3fc3;
/* rgb */ color: rgb(122, 63, 195);
/* oklch */ color: oklch(51.1% 0.196 300.0);
Tailwind
colors: {
  custom: {
    50: '#a678d6',
    500: '#7a3fc3',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fc3;
$custom-light: #a678d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fc3",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 266.818,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.19576,
    "h": 300
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#7A3FC3
secondary
#B2CC92
accent
#DC4C9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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