#7E5EF1#7E5EF1

#7E5EF1 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.3% C 0.210 H 288.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7E5EF1
RGBrgb(126, 94, 241)
HSLhsl(253, 84%, 66%)
HSVhsv(253, 61%, 95%)
CMYKcmyk(47.7%, 61%, 0%, 5.5%)
CIE-LABlab(50.44, 48.20, -69.84)
CIE-LCHlch(50.44, 84.85, 304.61°)
OKLaboklab(59.32% 0.066 -0.1998)
OKLCHoklch(59.32% 0.21 288.3)
XYZxyz(28.4795, 18.7907, 85.3284)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5EF1 #D1F15E
analogous
#5E87F1 #7E5EF1 #C75EF1
triadic
#7E5EF1 #F17E5E #5EF17E
tetradic
#7E5EF1 #F15E87 #D1F15E #5EF1C7
square
#7E5EF1 #F15E87 #D1F15E #5EF1C7
split-complementary
#7E5EF1 #F1C75E #87F15E
monochromatic
#3811C4 #5126EC #7E5EF1 #AB96F6 #D8CFFB

Accessibility & contrast

On white

4.41
#7E5EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7E5EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5EF1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5EF1#FFFFFF#000000##000000
##7E5EF11.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0074EE
Tritanopia (blue-blind)
#57809F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e5ef1;
/* rgb */ color: rgb(126, 94, 241);
/* oklch */ color: oklch(59.3% 0.210 288.3);
Tailwind
colors: {
  custom: {
    50: '#ab8df7',
    500: '#7e5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ef1;
$custom-light: #ab8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ef1",
  "rgb": {
    "r": 126,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 253.061,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59316,
    "c": 0.21045,
    "h": 288.3
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#7E5EF1
secondary
#E3EEBD
accent
#E005B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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