#7E3CD5#7E3CD5

#7E3CD5 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.219 H 298.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7E3CD5
RGBrgb(126, 60, 213)
HSLhsl(266, 65%, 54%)
HSVhsv(266, 72%, 84%)
CMYKcmyk(40.8%, 71.8%, 0%, 16.5%)
CIE-LABlab(41.96, 58.24, -67.76)
CIE-LCHlch(41.96, 89.35, 310.68°)
OKLaboklab(52.56% 0.1032 -0.1937)
OKLCHoklch(52.56% 0.219 298.1)
XYZxyz(22.2272, 12.4711, 64.1740)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3CD5 #93D53C
analogous
#3C46D5 #7E3CD5 #CA3CD5
triadic
#7E3CD5 #D57E3C #3CD57E
tetradic
#7E3CD5 #D53C46 #93D53C #3CD5CA
square
#7E3CD5 #D53C46 #93D53C #3CD5CA
split-complementary
#7E3CD5 #D5CA3C #46D53C
monochromatic
#451B7C #6126AE #7E3CD5 #9F6EE0 #C1A1EB

Accessibility & contrast

On white

6.01
#7E3CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7E3CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3CD5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3CD5#FFFFFF#000000##FFFFFF
##7E3CD51.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#686385
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e3cd5;
/* rgb */ color: rgb(126, 60, 213);
/* oklch */ color: oklch(52.6% 0.219 298.1);
Tailwind
colors: {
  custom: {
    50: '#aa77e3',
    500: '#7e3cd5',
    950: '#000000',
  },
}
SCSS
$custom: #7e3cd5;
$custom-light: #aa77e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3cd5",
  "rgb": {
    "r": 126,
    "g": 60,
    "b": 213
  },
  "hsl": {
    "h": 265.882,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.21945,
    "h": 298.1
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

primary
#7E3CD5
secondary
#BBD796
accent
#E8409F
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7E3CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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