#7E52AE#7E52AE

#7E52AE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.9% C 0.144 H 304.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7E52AE
RGBrgb(126, 82, 174)
HSLhsl(269, 36%, 50%)
HSVhsv(269, 53%, 68%)
CMYKcmyk(27.6%, 52.9%, 0%, 31.8%)
CIE-LABlab(43.55, 37.02, -42.50)
CIE-LCHlch(43.55, 56.36, 311.06°)
OKLaboklab(52.88% 0.0806 -0.1195)
OKLCHoklch(52.88% 0.144 304)
XYZxyz(19.2598, 13.5263, 41.6324)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E52AE #82AE52
analogous
#5254AE #7E52AE #AC52AE
triadic
#7E52AE #AE7E52 #52AE7E
tetradic
#7E52AE #AE5254 #82AE52 #52AEAC
square
#7E52AE #AE5254 #82AE52 #52AEAC
split-complementary
#7E52AE #AEAC52 #54AE52
monochromatic
#422B5B #603E85 #7E52AE #9D7CC2 #BCA5D5

Accessibility & contrast

On white

5.67
#7E52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7E52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E52AE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E52AE#FFFFFF#000000##FFFFFF
##7E52AE1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#766378
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e52ae;
/* rgb */ color: rgb(126, 82, 174);
/* oklch */ color: oklch(52.9% 0.144 304.0);
Tailwind
colors: {
  custom: {
    50: '#a684c7',
    500: '#7e52ae',
    950: '#000000',
  },
}
SCSS
$custom: #7e52ae;
$custom-light: #a684c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e52ae",
  "rgb": {
    "r": 126,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 268.696,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.14416,
    "h": 304
  },
  "luminance": 0.13526
}

Semantic roles & 50–950 ramp

primary
#7E52AE
secondary
#AFC299
accent
#CC5C96
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #7E52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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