#7E3FD6#7E3FD6

#7E3FD6 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.217 H 297.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7E3FD6
RGBrgb(126, 63, 214)
HSLhsl(265, 65%, 54%)
HSVhsv(265, 71%, 84%)
CMYKcmyk(41.1%, 70.6%, 0%, 16.1%)
CIE-LABlab(42.53, 57.10, -67.40)
CIE-LCHlch(42.53, 88.33, 310.27°)
OKLaboklab(52.99% 0.1002 -0.1926)
OKLCHoklch(52.99% 0.217 297.5)
XYZxyz(22.5161, 12.8453, 64.8984)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FD6 #97D63F
analogous
#3F4CD6 #7E3FD6 #CA3FD6
triadic
#7E3FD6 #D67E3F #3FD67E
tetradic
#7E3FD6 #D63F4C #97D63F #3FD6CA
square
#7E3FD6 #D63F4C #97D63F #3FD6CA
split-complementary
#7E3FD6 #D6CA3F #4CD63F
monochromatic
#451B7F #6026B2 #7E3FD6 #A071E1 #C2A4EC

Accessibility & contrast

On white

5.88
#7E3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7E3FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FD6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FD6#FFFFFF#000000##FFFFFF
##7E3FD61.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#686586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e3fd6;
/* rgb */ color: rgb(126, 63, 214);
/* oklch */ color: oklch(53.0% 0.217 297.5);
Tailwind
colors: {
  custom: {
    50: '#aa79e4',
    500: '#7e3fd6',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fd6;
$custom-light: #aa79e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fd6",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 265.033,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.21714,
    "h": 297.5
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#7E3FD6
secondary
#BED898
accent
#E840A2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7E3FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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