#513ED9#513ED9

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

Color values

HEX#513ED9
RGBrgb(81, 62, 217)
HSLhsl(247, 67%, 55%)
HSVhsv(247, 71%, 85%)
CMYKcmyk(62.7%, 71.4%, 0%, 14.9%)
CIE-LABlab(38.20, 51.55, -76.38)
CIE-LCHlch(38.20, 92.14, 304.01°)
OKLaboklab(48.96% 0.0378 -0.2204)
OKLCHoklch(48.96% 0.224 279.7)
XYZxyz(17.6364, 10.2030, 66.6722)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ED9 #C6D93E
analogous
#3E78D9 #513ED9 #9F3ED9
triadic
#513ED9 #D9513E #3ED951
tetradic
#513ED9 #D93E78 #C6D93E #3ED99F
square
#513ED9 #D93E78 #C6D93E #3ED99F
split-complementary
#513ED9 #D99F3E #78D93E
monochromatic
#271A83 #3624B6 #513ED9 #7F71E3 #ADA4ED

Accessibility & contrast

On white

6.91
#513ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#513ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513ED9
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ED9#FFFFFF#000000##FFFFFF
##513ED91.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.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: #513ed9;
/* rgb */ color: rgb(81, 62, 217);
/* oklch */ color: oklch(49.0% 0.224 279.7);
Tailwind
colors: {
  custom: {
    50: '#9276e6',
    500: '#513ed9',
    950: '#000000',
  },
}
SCSS
$custom: #513ed9;
$custom-light: #9276e6;
$custom-dark: #000000;
JSON
{
  "hex": "#513ed9",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 247.355,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48958,
    "c": 0.22359,
    "h": 279.7
  },
  "luminance": 0.10204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #513ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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