#523ED9#523ED9

#523ED9 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 49.0% C 0.223 H 280.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#523ED9
RGBrgb(82, 62, 217)
HSLhsl(248, 67%, 55%)
HSVhsv(248, 71%, 85%)
CMYKcmyk(62.2%, 71.4%, 0%, 14.9%)
CIE-LABlab(38.28, 51.67, -76.25)
CIE-LCHlch(38.28, 92.11, 304.13°)
OKLaboklab(49.03% 0.0391 -0.2199)
OKLCHoklch(49.03% 0.223 280.1)
XYZxyz(17.7227, 10.2475, 66.6762)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ED9 #C5D93E
analogous
#3E78D9 #523ED9 #A03ED9
triadic
#523ED9 #D9523E #3ED952
tetradic
#523ED9 #D93E78 #C5D93E #3ED9A0
square
#523ED9 #D93E78 #C5D93E #3ED9A0
split-complementary
#523ED9 #D9A03E #78D93E
monochromatic
#271A83 #3724B6 #523ED9 #8071E3 #AEA4ED

Accessibility & contrast

On white

6.89
#523ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#523ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #523ED9
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ED9#FFFFFF#000000##FFFFFF
##523ED91.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DE
Deuteranopia (green-blind)
#0054D6
Tritanopia (blue-blind)
#006988
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #523ed9;
/* rgb */ color: rgb(82, 62, 217);
/* oklch */ color: oklch(49.0% 0.223 280.1);
Tailwind
colors: {
  custom: {
    50: '#9276e6',
    500: '#523ed9',
    950: '#000000',
  },
}
SCSS
$custom: #523ed9;
$custom-light: #9276e6;
$custom-dark: #000000;
JSON
{
  "hex": "#523ed9",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 247.742,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.22341,
    "h": 280.1
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#523ED9
secondary
#D2DA99
accent
#EA3ED4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #523ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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