#523EAE#523EAE

#523EAE is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.170 H 285.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#523EAE
RGBrgb(82, 62, 174)
HSLhsl(251, 47%, 46%)
HSVhsv(251, 64%, 68%)
CMYKcmyk(52.9%, 64.4%, 0%, 31.8%)
CIE-LABlab(34.59, 38.50, -57.16)
CIE-LCHlch(34.59, 68.91, 303.96°)
OKLaboklab(45.24% 0.0457 -0.164)
OKLCHoklch(45.24% 0.17 285.6)
XYZxyz(12.8400, 8.2944, 40.9606)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EAE #9AAE3E
analogous
#3E62AE #523EAE #8A3EAE
triadic
#523EAE #AE523E #3EAE52
tetradic
#523EAE #AE3E62 #9AAE3E #3EAE8A
square
#523EAE #AE3E62 #9AAE3E #3EAE8A
split-complementary
#523EAE #AE8A3E #62AE3E
monochromatic
#271E54 #3D2E81 #523EAE #7462C7 #9C8FD7

Accessibility & contrast

On white

7.90
#523EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#523EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EAE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EAE#FFFFFF#000000##FFFFFF
##523EAE1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#2D5970
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523eae;
/* rgb */ color: rgb(82, 62, 174);
/* oklch */ color: oklch(45.2% 0.170 285.6);
Tailwind
colors: {
  custom: {
    50: '#8b74c7',
    500: '#523eae',
    950: '#000000',
  },
}
SCSS
$custom: #523eae;
$custom-light: #8b74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#523eae",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 250.714,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45244,
    "c": 0.17022,
    "h": 285.6
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#523EAE
secondary
#B7C286
accent
#D751BF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #523EAE

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

Preview Lab → · Contrast checker → · Palette generator →

#523EAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva