#7E53EB#7E53EB

#7E53EB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.217 H 291.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7E53EB
RGBrgb(126, 83, 235)
HSLhsl(257, 79%, 62%)
HSVhsv(257, 65%, 92%)
CMYKcmyk(46.4%, 64.7%, 0%, 7.8%)
CIE-LABlab(47.78, 52.52, -70.80)
CIE-LCHlch(47.78, 88.15, 306.57°)
OKLaboklab(57.25% 0.0776 -0.2027)
OKLCHoklch(57.25% 0.217 291)
XYZxyz(26.6886, 16.6193, 80.3828)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E53EB #C0EB53
analogous
#5374EB #7E53EB #CA53EB
triadic
#7E53EB #EB7E53 #53EB7E
tetradic
#7E53EB #EB5374 #C0EB53 #53EBCA
square
#7E53EB #EB5374 #C0EB53 #53EBCA
split-complementary
#7E53EB #EBCA53 #74EB53
monochromatic
#4014AF #551CE5 #7E53EB #A78AF1 #D0C1F8

Accessibility & contrast

On white

4.86
#7E53EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7E53EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E53EB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E53EB#FFFFFF#000000##FFFFFF
##7E53EB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#5C7898
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e53eb;
/* rgb */ color: rgb(126, 83, 235);
/* oklch */ color: oklch(57.2% 0.217 291.0);
Tailwind
colors: {
  custom: {
    50: '#ab86f2',
    500: '#7e53eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e53eb;
$custom-light: #ab86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e53eb",
  "rgb": {
    "r": 126,
    "g": 83,
    "b": 235
  },
  "hsl": {
    "h": 256.974,
    "s": 79.167,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57247,
    "c": 0.21703,
    "h": 291
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#7E53EB
secondary
#D9E9B1
accent
#DB0AA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E53EB

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

Preview Lab → · Contrast checker → · Palette generator →

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