#7E53B3#7E53B3

#7E53B3 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.3% C 0.149 H 302.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7E53B3
RGBrgb(126, 83, 179)
HSLhsl(267, 39%, 51%)
HSVhsv(267, 54%, 70%)
CMYKcmyk(29.6%, 53.6%, 0%, 29.8%)
CIE-LABlab(44.06, 37.70, -44.62)
CIE-LCHlch(44.06, 58.42, 310.19°)
OKLaboklab(53.35% 0.0795 -0.1258)
OKLCHoklch(53.35% 0.149 302.3)
XYZxyz(19.8323, 13.8768, 44.2728)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E53B3 #88B353
analogous
#5358B3 #7E53B3 #AE53B3
triadic
#7E53B3 #B37E53 #53B37E
tetradic
#7E53B3 #B35358 #88B353 #53B3AE
square
#7E53B3 #B35358 #88B353 #53B3AE
split-complementary
#7E53B3 #B3AE53 #58B353
monochromatic
#432B61 #603E8B #7E53B3 #9E7DC6 #BEA8D9

Accessibility & contrast

On white

5.56
#7E53B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7E53B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E53B3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E53B3#FFFFFF#000000##FFFFFF
##7E53B31.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B6
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#74657B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e53b3;
/* rgb */ color: rgb(126, 83, 179);
/* oklch */ color: oklch(53.3% 0.149 302.3);
Tailwind
colors: {
  custom: {
    50: '#a685ca',
    500: '#7e53b3',
    950: '#000000',
  },
}
SCSS
$custom: #7e53b3;
$custom-light: #a685ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7e53b3",
  "rgb": {
    "r": 126,
    "g": 83,
    "b": 179
  },
  "hsl": {
    "h": 266.875,
    "s": 38.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53347,
    "c": 0.14882,
    "h": 302.3
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#7E53B3
secondary
#B3C69C
accent
#CF599A
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7E53B3

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

Preview Lab → · Contrast checker → · Palette generator →

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