#7E3CC5#7E3CC5

#7E3CC5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.202 H 301.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7E3CC5
RGBrgb(126, 60, 197)
HSLhsl(269, 54%, 50%)
HSVhsv(269, 70%, 77%)
CMYKcmyk(36%, 69.5%, 0%, 22.7%)
CIE-LABlab(40.73, 54.32, -60.50)
CIE-LCHlch(40.73, 81.30, 311.92°)
OKLaboklab(51.31% 0.1061 -0.1723)
OKLCHoklch(51.31% 0.202 301.6)
XYZxyz(20.2957, 11.6985, 54.0013)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3CC5 #83C53C
analogous
#3C3EC5 #7E3CC5 #C23CC5
triadic
#7E3CC5 #C57E3C #3CC57E
tetradic
#7E3CC5 #C53C3E #83C53C #3CC5C2
square
#7E3CC5 #C53C3E #83C53C #3CC5C2
split-complementary
#7E3CC5 #C5C23C #3EC53C
monochromatic
#421F68 #602D97 #7E3CC5 #9D6BD3 #BC9AE1

Accessibility & contrast

On white

6.29
#7E3CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7E3CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3CC5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3CC5#FFFFFF#000000##FFFFFF
##7E3CC51.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#6F5C7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e3cc5;
/* rgb */ color: rgb(126, 60, 197);
/* oklch */ color: oklch(51.3% 0.202 301.6);
Tailwind
colors: {
  custom: {
    50: '#a977d7',
    500: '#7e3cc5',
    950: '#000000',
  },
}
SCSS
$custom: #7e3cc5;
$custom-light: #a977d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3cc5",
  "rgb": {
    "r": 126,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 268.905,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.20235,
    "h": 301.6
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#7E3CC5
secondary
#B0CD90
accent
#DE4A97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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