#7E5DF9#7E5DF9

#7E5DF9 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.221 H 287.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7E5DF9
RGBrgb(126, 93, 249)
HSLhsl(253, 93%, 67%)
HSVhsv(253, 63%, 98%)
CMYKcmyk(49.4%, 62.7%, 0%, 2.4%)
CIE-LABlab(50.81, 51.00, -73.71)
CIE-LCHlch(50.81, 89.63, 304.68°)
OKLaboklab(59.76% 0.0664 -0.2112)
OKLCHoklch(59.76% 0.221 287.4)
XYZxyz(29.6124, 19.1025, 91.7310)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5DF9 #D8F95D
analogous
#5D8AF9 #7E5DF9 #CC5DF9
triadic
#7E5DF9 #F97E5D #5DF97E
tetradic
#7E5DF9 #F95D8A #D8F95D #5DF9CC
square
#7E5DF9 #F95D8A #D8F95D #5DF9CC
split-complementary
#7E5DF9 #F9CC5D #8AF95D
monochromatic
#3308D4 #4F22F7 #7E5DF9 #AD98FB #DCD3FD

Accessibility & contrast

On white

4.36
#7E5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7E5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5DF9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5DF9#FFFFFF#000000##000000
##7E5DF91.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#5283A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e5df9;
/* rgb */ color: rgb(126, 93, 249);
/* oklch */ color: oklch(59.8% 0.221 287.4);
Tailwind
colors: {
  custom: {
    50: '#ac8cfc',
    500: '#7e5df9',
    950: '#000000',
  },
}
SCSS
$custom: #7e5df9;
$custom-light: #ac8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5df9",
  "rgb": {
    "r": 126,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 252.692,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59762,
    "c": 0.22141,
    "h": 287.4
  },
  "luminance": 0.19104
}

Semantic roles & 50–950 ramp

primary
#7E5DF9
secondary
#E7F2C0
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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