#7A3FC7#7A3FC7

#7A3FC7 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.200 H 299.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7A3FC7
RGBrgb(122, 63, 199)
HSLhsl(266, 55%, 51%)
HSVhsv(266, 68%, 78%)
CMYKcmyk(38.7%, 68.3%, 0%, 22%)
CIE-LABlab(40.92, 52.58, -61.37)
CIE-LCHlch(40.92, 80.82, 310.59°)
OKLaboklab(51.39% 0.0972 -0.175)
OKLCHoklch(51.39% 0.2 299)
XYZxyz(20.1098, 11.8159, 55.2430)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FC7 #8CC73F
analogous
#3F48C7 #7A3FC7 #BE3FC7
triadic
#7A3FC7 #C77A3F #3FC77A
tetradic
#7A3FC7 #C73F48 #8CC73F #3FC7BE
square
#7A3FC7 #C73F48 #8CC73F #3FC7BE
split-complementary
#7A3FC7 #C7BE3F #48C73F
monochromatic
#41206C #5D2D9B #7A3FC7 #9B6ED5 #BC9EE3

Accessibility & contrast

On white

6.24
#7A3FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7A3FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FC7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FC7#FFFFFF#000000##FFFFFF
##7A3FC71.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#685F7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3fc7;
/* rgb */ color: rgb(122, 63, 199);
/* oklch */ color: oklch(51.4% 0.200 299.0);
Tailwind
colors: {
  custom: {
    50: '#a678d9',
    500: '#7a3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fc7;
$custom-light: #a678d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fc7",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 266.029,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51386,
    "c": 0.20021,
    "h": 299
  },
  "luminance": 0.11816
}

Semantic roles & 50–950 ramp

primary
#7A3FC7
secondary
#B5CF93
accent
#DE4A9E
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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