#523EAD#523EAD

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

Color values

HEX#523EAD
RGBrgb(82, 62, 173)
HSLhsl(251, 47%, 46%)
HSVhsv(251, 64%, 68%)
CMYKcmyk(52.6%, 64.2%, 0%, 32.2%)
CIE-LABlab(34.51, 38.19, -56.69)
CIE-LCHlch(34.51, 68.35, 303.97°)
OKLaboklab(45.16% 0.0458 -0.1626)
OKLCHoklch(45.16% 0.169 285.7)
XYZxyz(12.7429, 8.2556, 40.4491)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523EAD #99AD3E
analogous
#3E61AD #523EAD #893EAD
triadic
#523EAD #AD523E #3EAD52
tetradic
#523EAD #AD3E61 #99AD3E #3EAD89
square
#523EAD #AD3E61 #99AD3E #3EAD89
split-complementary
#523EAD #AD893E #61AD3E
monochromatic
#271E53 #3D2E80 #523EAD #7462C7 #9C8FD7

Accessibility & contrast

On white

7.92
#523EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#523EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523EAD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523EAD#FFFFFF#000000##FFFFFF
##523EAD1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#2E5970
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #523ead;
/* rgb */ color: rgb(82, 62, 173);
/* oklch */ color: oklch(45.2% 0.169 285.7);
Tailwind
colors: {
  custom: {
    50: '#8b74c6',
    500: '#523ead',
    950: '#000000',
  },
}
SCSS
$custom: #523ead;
$custom-light: #8b74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#523ead",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 250.811,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45161,
    "c": 0.16892,
    "h": 285.7
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#523EAD
secondary
#B7C285
accent
#D751BF
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #523EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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