#7E3FC3#7E3FC3

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

Color values

HEX#7E3FC3
RGBrgb(126, 63, 195)
HSLhsl(269, 52%, 51%)
HSVhsv(269, 68%, 76%)
CMYKcmyk(35.4%, 67.7%, 0%, 23.5%)
CIE-LABlab(41.11, 52.38, -58.73)
CIE-LCHlch(41.11, 78.69, 311.73°)
OKLaboklab(51.53% 0.1032 -0.1671)
OKLCHoklch(51.53% 0.196 301.7)
XYZxyz(20.2297, 11.9307, 52.8563)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FC3 #84C33F
analogous
#3F42C3 #7E3FC3 #C03FC3
triadic
#7E3FC3 #C37E3F #3FC37E
tetradic
#7E3FC3 #C33F42 #84C33F #3FC3C0
square
#7E3FC3 #C33F42 #84C33F #3FC3C0
split-complementary
#7E3FC3 #C3C03F #42C33F
monochromatic
#422067 #602F96 #7E3FC3 #9D6ED2 #BD9CE0

Accessibility & contrast

On white

6.20
#7E3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7E3FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FC3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FC3#FFFFFF#000000##FFFFFF
##7E3FC31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#705D7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e3fc3;
/* rgb */ color: rgb(126, 63, 195);
/* oklch */ color: oklch(51.5% 0.196 301.7);
Tailwind
colors: {
  custom: {
    50: '#a978d6',
    500: '#7e3fc3',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fc3;
$custom-light: #a978d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fc3",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 268.636,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.19644,
    "h": 301.7
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

primary
#7E3FC3
secondary
#B0CC92
accent
#DC4C97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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