#523ED1#523ED1

#523ED1 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.3% C 0.214 H 281.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#523ED1
RGBrgb(82, 62, 209)
HSLhsl(248, 62%, 53%)
HSVhsv(248, 70%, 82%)
CMYKcmyk(60.8%, 70.3%, 0%, 18%)
CIE-LABlab(37.56, 49.24, -72.83)
CIE-LCHlch(37.56, 87.92, 304.06°)
OKLaboklab(48.3% 0.0406 -0.21)
OKLCHoklch(48.3% 0.214 281)
XYZxyz(16.7073, 9.8413, 61.3284)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523ED1 #BDD13E
analogous
#3E73D1 #523ED1 #9B3ED1
triadic
#523ED1 #D1523E #3ED152
tetradic
#523ED1 #D13E73 #BDD13E #3ED19B
square
#523ED1 #D13E73 #BDD13E #3ED19B
split-complementary
#523ED1 #D19B3E #73D13E
monochromatic
#291D78 #3A28A9 #523ED1 #7E6FDD #ABA1E9

Accessibility & contrast

On white

7.07
#523ED1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#523ED1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523ED1
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523ED1#FFFFFF#000000##FFFFFF
##523ED11.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#006683
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #523ed1;
/* rgb */ color: rgb(82, 62, 209);
/* oklch */ color: oklch(48.3% 0.214 281.0);
Tailwind
colors: {
  custom: {
    50: '#9175e0',
    500: '#523ed1',
    950: '#000000',
  },
}
SCSS
$custom: #523ed1;
$custom-light: #9175e0;
$custom-dark: #000000;
JSON
{
  "hex": "#523ed1",
  "rgb": {
    "r": 82,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 248.163,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48295,
    "c": 0.21387,
    "h": 281
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#523ED1
secondary
#CCD596
accent
#E543CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #523ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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