#7E3CC3#7E3CC3

#7E3CC3 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.200 H 302.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7E3CC3
RGBrgb(126, 60, 195)
HSLhsl(269, 53%, 50%)
HSVhsv(269, 69%, 76%)
CMYKcmyk(35.4%, 69.2%, 0%, 23.5%)
CIE-LABlab(40.59, 53.83, -59.57)
CIE-LCHlch(40.59, 80.29, 312.10°)
OKLaboklab(51.16% 0.1064 -0.1696)
OKLCHoklch(51.16% 0.2 302.1)
XYZxyz(20.0680, 11.6074, 52.8024)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3CC3 #81C33C
analogous
#3C3EC3 #7E3CC3 #C13CC3
triadic
#7E3CC3 #C37E3C #3CC37E
tetradic
#7E3CC3 #C33C3E #81C33C #3CC3C1
square
#7E3CC3 #C33C3E #81C33C #3CC3C1
split-complementary
#7E3CC3 #C3C13C #3EC33C
monochromatic
#421F65 #602E94 #7E3CC3 #9D6BD1 #BC9AE0

Accessibility & contrast

On white

6.32
#7E3CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E3CC3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3CC3#FFFFFF#000000##FFFFFF
##7E3CC31.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e3cc3;
/* rgb */ color: rgb(126, 60, 195);
/* oklch */ color: oklch(51.2% 0.200 302.1);
Tailwind
colors: {
  custom: {
    50: '#a977d6',
    500: '#7e3cc3',
    950: '#000000',
  },
}
SCSS
$custom: #7e3cc3;
$custom-light: #a977d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3cc3",
  "rgb": {
    "r": 126,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 269.333,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.2002,
    "h": 302.1
  },
  "luminance": 0.11607
}

Semantic roles & 50–950 ramp

primary
#7E3CC3
secondary
#AECC8F
accent
#DC4B96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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