#7E3FDA#7E3FDA

#7E3FDA is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.221 H 296.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7E3FDA
RGBrgb(126, 63, 218)
HSLhsl(264, 68%, 55%)
HSVhsv(264, 71%, 85%)
CMYKcmyk(42.2%, 71.1%, 0%, 14.5%)
CIE-LABlab(42.84, 58.10, -69.19)
CIE-LCHlch(42.84, 90.35, 310.02°)
OKLaboklab(53.31% 0.0995 -0.1979)
OKLCHoklch(53.31% 0.221 296.7)
XYZxyz(23.0333, 13.0521, 67.6218)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FDA #9BDA3F
analogous
#3F4DDA #7E3FDA #CC3FDA
triadic
#7E3FDA #DA7E3F #3FDA7E
tetradic
#7E3FDA #DA3F4D #9BDA3F #3FDACC
square
#7E3FDA #DA3F4D #9BDA3F #3FDACC
split-complementary
#7E3FDA #DACC3F #4DDA3F
monochromatic
#451A85 #6024B8 #7E3FDA #A072E4 #C3A6EE

Accessibility & contrast

On white

5.82
#7E3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7E3FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FDA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FDA#FFFFFF#000000##FFFFFF
##7E3FDA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#666689
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e3fda;
/* rgb */ color: rgb(126, 63, 218);
/* oklch */ color: oklch(53.3% 0.221 296.7);
Tailwind
colors: {
  custom: {
    50: '#ab79e7',
    500: '#7e3fda',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fda;
$custom-light: #ab79e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fda",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 218
  },
  "hsl": {
    "h": 264.387,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.22146,
    "h": 296.7
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#7E3FDA
secondary
#C0DB9A
accent
#EB3DA4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7E3FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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