#7E53F2#7E53F2

#7E53F2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.225 H 289.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7E53F2
RGBrgb(126, 83, 242)
HSLhsl(256, 86%, 64%)
HSVhsv(256, 66%, 95%)
CMYKcmyk(47.9%, 65.7%, 0%, 5.1%)
CIE-LABlab(48.30, 54.42, -73.88)
CIE-LCHlch(48.30, 91.76, 306.38°)
OKLaboklab(57.79% 0.0768 -0.2117)
OKLCHoklch(57.79% 0.225 289.9)
XYZxyz(27.7199, 17.0318, 85.8141)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E53F2 #C7F253
analogous
#5377F2 #7E53F2 #CD53F2
triadic
#7E53F2 #F27E53 #53F27E
tetradic
#7E53F2 #F25377 #C7F253 #53F2CD
square
#7E53F2 #F25377 #C7F253 #53F2CD
split-complementary
#7E53F2 #F2CD53 #77F253
monochromatic
#3D0EBC #531AEE #7E53F2 #A98CF6 #D3C5FB

Accessibility & contrast

On white

4.77
#7E53F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7E53F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E53F2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E53F2#FFFFFF#000000##FFFFFF
##7E53F21.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#587A9C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e53f2;
/* rgb */ color: rgb(126, 83, 242);
/* oklch */ color: oklch(57.8% 0.225 289.9);
Tailwind
colors: {
  custom: {
    50: '#ac86f7',
    500: '#7e53f2',
    950: '#000000',
  },
}
SCSS
$custom: #7e53f2;
$custom-light: #ac86f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e53f2",
  "rgb": {
    "r": 126,
    "g": 83,
    "b": 242
  },
  "hsl": {
    "h": 256.226,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57787,
    "c": 0.22521,
    "h": 289.9
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

primary
#7E53F2
secondary
#DDECB4
accent
#E203A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E53F2

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

Preview Lab → · Contrast checker → · Palette generator →

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