#7A3FC2#7A3FC2

#7A3FC2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.195 H 300.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7A3FC2
RGBrgb(122, 63, 194)
HSLhsl(267, 52%, 50%)
HSVhsv(267, 68%, 76%)
CMYKcmyk(37.1%, 67.5%, 0%, 23.9%)
CIE-LABlab(40.55, 51.33, -59.06)
CIE-LCHlch(40.55, 78.25, 310.99°)
OKLaboklab(51.01% 0.0979 -0.1682)
OKLCHoklch(51.01% 0.195 300.2)
XYZxyz(19.5388, 11.5875, 52.2357)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3FC2 #87C23F
analogous
#3F45C2 #7A3FC2 #BC3FC2
triadic
#7A3FC2 #C27A3F #3FC27A
tetradic
#7A3FC2 #C23F45 #87C23F #3FC2BC
square
#7A3FC2 #C23F45 #87C23F #3FC2BC
split-complementary
#7A3FC2 #C2BC3F #45C23F
monochromatic
#402066 #5D2F95 #7A3FC2 #9A6DD1 #BA9CE0

Accessibility & contrast

On white

6.33
#7A3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7A3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3FC2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3FC2#FFFFFF#000000##FFFFFF
##7A3FC21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#6A5D7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3fc2;
/* rgb */ color: rgb(122, 63, 194);
/* oklch */ color: oklch(51.0% 0.195 300.2);
Tailwind
colors: {
  custom: {
    50: '#a678d5',
    500: '#7a3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3fc2;
$custom-light: #a678d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3fc2",
  "rgb": {
    "r": 122,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 267.023,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51005,
    "c": 0.19464,
    "h": 300.2
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

primary
#7A3FC2
secondary
#B1CC91
accent
#DB4D9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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