#7E3FC2#7E3FC2

#7E3FC2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.195 H 301.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7E3FC2
RGBrgb(126, 63, 194)
HSLhsl(269, 52%, 50%)
HSVhsv(269, 68%, 76%)
CMYKcmyk(35.1%, 67.5%, 0%, 23.9%)
CIE-LABlab(41.03, 52.14, -58.26)
CIE-LCHlch(41.03, 78.18, 311.83°)
OKLaboklab(51.46% 0.1034 -0.1657)
OKLCHoklch(51.46% 0.195 301.9)
XYZxyz(20.1170, 11.8856, 52.2628)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FC2 #83C23F
analogous
#3F41C2 #7E3FC2 #C03FC2
triadic
#7E3FC2 #C27E3F #3FC27E
tetradic
#7E3FC2 #C23F41 #83C23F #3FC2C0
square
#7E3FC2 #C23F41 #83C23F #3FC2C0
split-complementary
#7E3FC2 #C2C03F #41C23F
monochromatic
#422066 #602F95 #7E3FC2 #9D6DD1 #BC9CE0

Accessibility & contrast

On white

6.22
#7E3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7E3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FC2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FC2#FFFFFF#000000##FFFFFF
##7E3FC21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#705D7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e3fc2;
/* rgb */ color: rgb(126, 63, 194);
/* oklch */ color: oklch(51.5% 0.195 301.9);
Tailwind
colors: {
  custom: {
    50: '#a878d5',
    500: '#7e3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fc2;
$custom-light: #a878d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fc2",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 268.855,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.19534,
    "h": 301.9
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#7E3FC2
secondary
#B0CC91
accent
#DB4D97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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