#7E3DC0#7E3DC0

#7E3DC0 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.196 H 302.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7E3DC0
RGBrgb(126, 61, 192)
HSLhsl(270, 52%, 50%)
HSVhsv(270, 68%, 75%)
CMYKcmyk(34.4%, 68.2%, 0%, 24.7%)
CIE-LABlab(40.54, 52.62, -57.89)
CIE-LCHlch(40.54, 78.24, 312.27°)
OKLaboklab(51.06% 0.1058 -0.1647)
OKLCHoklch(51.06% 0.196 302.7)
XYZxyz(19.7851, 11.5789, 51.0516)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3DC0 #7FC03D
analogous
#3D3DC0 #7E3DC0 #C03DC0
triadic
#7E3DC0 #C07E3D #3DC07E
tetradic
#7E3DC0 #C03D3D #7FC03D #3DC0C0
square
#7E3DC0 #C03D3D #7FC03D #3DC0C0
split-complementary
#7E3DC0 #C0C03D #3DC03D
monochromatic
#411F63 #602E92 #7E3DC0 #9D6AD0 #BB99DF

Accessibility & contrast

On white

6.33
#7E3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E3DC0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3DC0#FFFFFF#000000##FFFFFF
##7E3DC01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#715B7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e3dc0;
/* rgb */ color: rgb(126, 61, 192);
/* oklch */ color: oklch(51.1% 0.196 302.7);
Tailwind
colors: {
  custom: {
    50: '#a877d4',
    500: '#7e3dc0',
    950: '#000000',
  },
}
SCSS
$custom: #7e3dc0;
$custom-light: #a877d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3dc0",
  "rgb": {
    "r": 126,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 269.771,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.19571,
    "h": 302.7
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#7E3DC0
secondary
#ADCA8E
accent
#DB4D94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7E3DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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