#7E53DB#7E53DB

#7E53DB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.198 H 293.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7E53DB
RGBrgb(126, 83, 219)
HSLhsl(259, 65%, 59%)
HSVhsv(259, 62%, 86%)
CMYKcmyk(42.5%, 62.1%, 0%, 14.1%)
CIE-LABlab(46.63, 48.18, -63.61)
CIE-LCHlch(46.63, 79.80, 307.15°)
OKLaboklab(56.05% 0.0791 -0.1815)
OKLCHoklch(56.05% 0.198 293.6)
XYZxyz(24.4802, 15.7359, 68.7516)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E53DB #B0DB53
analogous
#536CDB #7E53DB #C253DB
triadic
#7E53DB #DB7E53 #53DB7E
tetradic
#7E53DB #DB536C #B0DB53 #53DBC2
square
#7E53DB #DB536C #B0DB53 #53DBC2
split-complementary
#7E53DB #DBC253 #6CDB53
monochromatic
#441F95 #5B2AC7 #7E53DB #A486E6 #CAB8F0

Accessibility & contrast

On white

5.06
#7E53DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7E53DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E53DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E53DB#FFFFFF#000000##FFFFFF
##7E53DB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#64728F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e53db;
/* rgb */ color: rgb(126, 83, 219);
/* oklch */ color: oklch(56.1% 0.198 293.6);
Tailwind
colors: {
  custom: {
    50: '#aa85e7',
    500: '#7e53db',
    950: '#000000',
  },
}
SCSS
$custom: #7e53db;
$custom-light: #aa85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e53db",
  "rgb": {
    "r": 126,
    "g": 83,
    "b": 219
  },
  "hsl": {
    "h": 258.971,
    "s": 65.385,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56051,
    "c": 0.19802,
    "h": 293.6
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#7E53DB
secondary
#CFDFAA
accent
#E83FB3
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E53DB

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

Preview Lab → · Contrast checker → · Palette generator →

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