#7E4FF3#7E4FF3

#7E4FF3 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.231 H 290.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7E4FF3
RGBrgb(126, 79, 243)
HSLhsl(257, 87%, 63%)
HSVhsv(257, 67%, 95%)
CMYKcmyk(48.1%, 67.5%, 0%, 4.7%)
CIE-LABlab(47.62, 56.77, -75.55)
CIE-LCHlch(47.62, 94.50, 306.92°)
OKLaboklab(57.32% 0.0803 -0.2166)
OKLCHoklch(57.32% 0.231 290.3)
XYZxyz(27.5732, 16.4976, 86.5082)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4FF3 #C4F34F
analogous
#4F72F3 #7E4FF3 #D04FF3
triadic
#7E4FF3 #F37E4F #4FF37E
tetradic
#7E4FF3 #F34F72 #C4F34F #4FF3D0
square
#7E4FF3 #F34F72 #C4F34F #4FF3D0
split-complementary
#7E4FF3 #F3D04F #72F34F
monochromatic
#3F0DBB #5416EF #7E4FF3 #A888F7 #D2C2FB

Accessibility & contrast

On white

4.88
#7E4FF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7E4FF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4FF3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4FF3#FFFFFF#000000##FFFFFF
##7E4FF31.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#006DF0
Tritanopia (blue-blind)
#57789B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e4ff3;
/* rgb */ color: rgb(126, 79, 243);
/* oklch */ color: oklch(57.3% 0.231 290.3);
Tailwind
colors: {
  custom: {
    50: '#ad84f8',
    500: '#7e4ff3',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ff3;
$custom-light: #ad84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ff3",
  "rgb": {
    "r": 126,
    "g": 79,
    "b": 243
  },
  "hsl": {
    "h": 257.195,
    "s": 87.234,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.23104,
    "h": 290.3
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#7E4FF3
secondary
#DBECB2
accent
#E402A3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E4FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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