#7E5FED#7E5FED

#7E5FED is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.204 H 288.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7E5FED
RGBrgb(126, 95, 237)
HSLhsl(253, 80%, 65%)
HSVhsv(253, 60%, 93%)
CMYKcmyk(46.8%, 59.9%, 0%, 7.1%)
CIE-LABlab(50.37, 46.51, -67.71)
CIE-LCHlch(50.37, 82.14, 304.49°)
OKLaboklab(59.18% 0.0652 -0.1936)
OKLCHoklch(59.18% 0.204 288.6)
XYZxyz(27.9781, 18.7333, 82.2461)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5FED #CEED5F
analogous
#5F87ED #7E5FED #C55FED
triadic
#7E5FED #ED7E5F #5FED7E
tetradic
#7E5FED #ED5F87 #CEED5F #5FEDC5
square
#7E5FED #ED5F87 #CEED5F #5FEDC5
split-complementary
#7E5FED #EDC55F #87ED5F
monochromatic
#3A15BC #5228E7 #7E5FED #AA96F3 #D7CDF9

Accessibility & contrast

On white

4.42
#7E5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7E5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5FED
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5FED#FFFFFF#000000##000000
##7E5FED1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#5A809D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e5fed;
/* rgb */ color: rgb(126, 95, 237);
/* oklch */ color: oklch(59.2% 0.204 288.6);
Tailwind
colors: {
  custom: {
    50: '#ab8ef4',
    500: '#7e5fed',
    950: '#000000',
  },
}
SCSS
$custom: #7e5fed;
$custom-light: #ab8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5fed",
  "rgb": {
    "r": 126,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 253.099,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59178,
    "c": 0.20426,
    "h": 288.6
  },
  "luminance": 0.18734
}

Semantic roles & 50–950 ramp

primary
#7E5FED
secondary
#E1ECBC
accent
#DC09AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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