#7E5CF7#7E5CF7

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

Color values

HEX#7E5CF7
RGBrgb(126, 92, 247)
HSLhsl(253, 91%, 66%)
HSVhsv(253, 63%, 97%)
CMYKcmyk(49%, 62.8%, 0%, 3.1%)
CIE-LABlab(50.46, 50.98, -73.16)
CIE-LCHlch(50.46, 89.17, 304.87°)
OKLaboklab(59.46% 0.0675 -0.2096)
OKLCHoklch(59.46% 0.22 287.9)
XYZxyz(29.2149, 18.8040, 90.0678)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5CF7 #D5F75C
analogous
#5C88F7 #7E5CF7 #CB5CF7
triadic
#7E5CF7 #F77E5C #5CF77E
tetradic
#7E5CF7 #F75C88 #D5F75C #5CF7CB
square
#7E5CF7 #F75C88 #D5F75C #5CF7CB
split-complementary
#7E5CF7 #F7CB5C #88F75C
monochromatic
#350ACE #5022F4 #7E5CF7 #AC96FA #DAD1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E5CF7#FFFFFF#000000##000000
##7E5CF71.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)
#007CFC
Deuteranopia (green-blind)
#0074F4
Tritanopia (blue-blind)
#5381A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e5cf7;
/* rgb */ color: rgb(126, 92, 247);
/* oklch */ color: oklch(59.5% 0.220 287.9);
Tailwind
colors: {
  custom: {
    50: '#ac8cfb',
    500: '#7e5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #7e5cf7;
$custom-light: #ac8cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5cf7",
  "rgb": {
    "r": 126,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 253.161,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.22024,
    "h": 287.9
  },
  "luminance": 0.18805
}

Semantic roles & 50–950 ramp

primary
#7E5CF7
secondary
#E6F1BE
accent
#E600B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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