#7E53D5#7E53D5

#7E53D5 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.191 H 294.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7E53D5
RGBrgb(126, 83, 213)
HSLhsl(260, 61%, 58%)
HSVhsv(260, 61%, 84%)
CMYKcmyk(40.8%, 61%, 0%, 16.5%)
CIE-LABlab(46.21, 46.57, -60.85)
CIE-LCHlch(46.21, 76.63, 307.43°)
OKLaboklab(55.62% 0.0795 -0.1734)
OKLCHoklch(55.62% 0.191 294.6)
XYZxyz(23.7045, 15.4257, 64.6664)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E53D5 #AAD553
analogous
#5369D5 #7E53D5 #BF53D5
triadic
#7E53D5 #D57E53 #53D57E
tetradic
#7E53D5 #D55369 #AAD553 #53D5BF
square
#7E53D5 #D55369 #AAD553 #53D5BF
split-complementary
#7E53D5 #D5BF53 #69D553
monochromatic
#45228C #5D2EBD #7E53D5 #A384E1 #C8B5ED

Accessibility & contrast

On white

5.14
#7E53D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7E53D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E53D5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E53D5#FFFFFF#000000##FFFFFF
##7E53D51.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#67708C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e53d5;
/* rgb */ color: rgb(126, 83, 213);
/* oklch */ color: oklch(55.6% 0.191 294.6);
Tailwind
colors: {
  custom: {
    50: '#a985e3',
    500: '#7e53d5',
    950: '#000000',
  },
}
SCSS
$custom: #7e53d5;
$custom-light: #a985e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e53d5",
  "rgb": {
    "r": 126,
    "g": 83,
    "b": 213
  },
  "hsl": {
    "h": 259.846,
    "s": 60.748,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55619,
    "c": 0.19078,
    "h": 294.6
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#7E53D5
secondary
#CBDCA8
accent
#E444AF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7E53D5

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

Preview Lab → · Contrast checker → · Palette generator →

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