#7E3FD2#7E3FD2

#7E3FD2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.213 H 298.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7E3FD2
RGBrgb(126, 63, 210)
HSLhsl(266, 62%, 54%)
HSVhsv(266, 70%, 82%)
CMYKcmyk(40%, 70%, 0%, 17.6%)
CIE-LABlab(42.22, 56.10, -65.60)
CIE-LCHlch(42.22, 86.32, 310.53°)
OKLaboklab(52.68% 0.1009 -0.1873)
OKLCHoklch(52.68% 0.213 298.3)
XYZxyz(22.0116, 12.6434, 62.2410)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FD2 #93D23F
analogous
#3F49D2 #7E3FD2 #C73FD2
triadic
#7E3FD2 #D27E3F #3FD27E
tetradic
#7E3FD2 #D23F49 #93D23F #3FD2C7
square
#7E3FD2 #D23F49 #93D23F #3FD2C7
split-complementary
#7E3FD2 #D2C73F #49D23F
monochromatic
#451D7A #6128AC #7E3FD2 #9F71DE #C1A2E9

Accessibility & contrast

On white

5.95
#7E3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7E3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FD2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FD2#FFFFFF#000000##FFFFFF
##7E3FD21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#6A6384
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e3fd2;
/* rgb */ color: rgb(126, 63, 210);
/* oklch */ color: oklch(52.7% 0.213 298.3);
Tailwind
colors: {
  custom: {
    50: '#aa79e1',
    500: '#7e3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fd2;
$custom-light: #aa79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fd2",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 265.714,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.2128,
    "h": 298.3
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#7E3FD2
secondary
#BBD697
accent
#E543A0
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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