#7E53B2#7E53B2

#7E53B2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.148 H 302.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7E53B2
RGBrgb(126, 83, 178)
HSLhsl(267, 38%, 51%)
HSVhsv(267, 53%, 70%)
CMYKcmyk(29.2%, 53.4%, 0%, 30.2%)
CIE-LABlab(44.00, 37.45, -44.13)
CIE-LCHlch(44.00, 57.88, 310.32°)
OKLaboklab(53.29% 0.0795 -0.1243)
OKLCHoklch(53.29% 0.148 302.6)
XYZxyz(19.7315, 13.8365, 43.7420)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E53B2 #87B253
analogous
#5357B2 #7E53B2 #AD53B2
triadic
#7E53B2 #B27E53 #53B27E
tetradic
#7E53B2 #B25357 #87B253 #53B2AD
square
#7E53B2 #B25357 #87B253 #53B2AD
split-complementary
#7E53B2 #B2AD53 #57B253
monochromatic
#432B60 #603E8A #7E53B2 #9E7DC5 #BDA8D8

Accessibility & contrast

On white

5.57
#7E53B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7E53B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E53B2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E53B2#FFFFFF#000000##FFFFFF
##7E53B21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#74657A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e53b2;
/* rgb */ color: rgb(126, 83, 178);
/* oklch */ color: oklch(53.3% 0.148 302.6);
Tailwind
colors: {
  custom: {
    50: '#a685c9',
    500: '#7e53b2',
    950: '#000000',
  },
}
SCSS
$custom: #7e53b2;
$custom-light: #a685c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e53b2",
  "rgb": {
    "r": 126,
    "g": 83,
    "b": 178
  },
  "hsl": {
    "h": 267.158,
    "s": 38.153,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53285,
    "c": 0.14756,
    "h": 302.6
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#7E53B2
secondary
#B2C59B
accent
#CE5A99
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7E53B2

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

Preview Lab → · Contrast checker → · Palette generator →

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