#7E3FD8#7E3FD8

#7E3FD8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.219 H 297.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7E3FD8
RGBrgb(126, 63, 216)
HSLhsl(265, 66%, 55%)
HSVhsv(265, 71%, 85%)
CMYKcmyk(41.7%, 70.8%, 0%, 15.3%)
CIE-LABlab(42.68, 57.60, -68.30)
CIE-LCHlch(42.68, 89.34, 310.14°)
OKLaboklab(53.15% 0.0998 -0.1952)
OKLCHoklch(53.15% 0.219 297.1)
XYZxyz(22.7731, 12.9481, 66.2518)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FD8 #99D83F
analogous
#3F4CD8 #7E3FD8 #CB3FD8
triadic
#7E3FD8 #D87E3F #3FD87E
tetradic
#7E3FD8 #D83F4C #99D83F #3FD8CB
square
#7E3FD8 #D83F4C #99D83F #3FD8CB
split-complementary
#7E3FD8 #D8CB3F #4CD83F
monochromatic
#451A82 #6025B5 #7E3FD8 #A072E2 #C2A5ED

Accessibility & contrast

On white

5.85
#7E3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7E3FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FD8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FD8#FFFFFF#000000##FFFFFF
##7E3FD81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#676587
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7e3fd8;
/* rgb */ color: rgb(126, 63, 216);
/* oklch */ color: oklch(53.2% 0.219 297.1);
Tailwind
colors: {
  custom: {
    50: '#ab79e5',
    500: '#7e3fd8',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fd8;
$custom-light: #ab79e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fd8",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 264.706,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53151,
    "c": 0.2193,
    "h": 297.1
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#7E3FD8
secondary
#BFDA99
accent
#E93FA3
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7E3FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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