#7E5DF0#7E5DF0

#7E5DF0 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.210 H 288.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7E5DF0
RGBrgb(126, 93, 240)
HSLhsl(253, 83%, 65%)
HSVhsv(253, 61%, 94%)
CMYKcmyk(47.5%, 61.2%, 0%, 5.9%)
CIE-LABlab(50.16, 48.47, -69.73)
CIE-LCHlch(50.16, 84.92, 304.80°)
OKLaboklab(59.09% 0.0671 -0.1995)
OKLCHoklch(59.09% 0.211 288.6)
XYZxyz(28.2422, 18.5544, 84.5144)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5DF0 #CFF05D
analogous
#5D86F0 #7E5DF0 #C75DF0
triadic
#7E5DF0 #F07E5D #5DF07E
tetradic
#7E5DF0 #F05D86 #CFF05D #5DF0C7
square
#7E5DF0 #F05D86 #CFF05D #5DF0C7
split-complementary
#7E5DF0 #F0C75D #86F05D
monochromatic
#3912C1 #5125EB #7E5DF0 #AB95F5 #D7CDFA

Accessibility & contrast

On white

4.46
#7E5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7E5DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5DF0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5DF0#FFFFFF#000000##000000
##7E5DF01.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#58809E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e5df0;
/* rgb */ color: rgb(126, 93, 240);
/* oklch */ color: oklch(59.1% 0.210 288.6);
Tailwind
colors: {
  custom: {
    50: '#ab8cf6',
    500: '#7e5df0',
    950: '#000000',
  },
}
SCSS
$custom: #7e5df0;
$custom-light: #ab8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5df0",
  "rgb": {
    "r": 126,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 253.469,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5909,
    "c": 0.2105,
    "h": 288.6
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#7E5DF0
secondary
#E2EDBC
accent
#DF06AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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