#513ED7#513ED7

#513ED7 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.8% C 0.221 H 279.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#513ED7
RGBrgb(81, 62, 215)
HSLhsl(247, 66%, 54%)
HSVhsv(247, 71%, 84%)
CMYKcmyk(62.3%, 71.2%, 0%, 15.7%)
CIE-LABlab(38.02, 50.94, -75.53)
CIE-LCHlch(38.02, 91.10, 304.00°)
OKLaboklab(48.77% 0.0382 -0.2179)
OKLCHoklch(48.77% 0.221 279.9)
XYZxyz(17.3778, 10.0995, 65.3105)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513ED7 #C4D73E
analogous
#3E78D7 #513ED7 #9E3ED7
triadic
#513ED7 #D7513E #3ED751
tetradic
#513ED7 #D73E78 #C4D73E #3ED79E
square
#513ED7 #D73E78 #C4D73E #3ED79E
split-complementary
#513ED7 #D79E3E #78D73E
monochromatic
#271B80 #3725B3 #513ED7 #7F71E2 #ACA3EC

Accessibility & contrast

On white

6.95
#513ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#513ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513ED7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513ED7#FFFFFF#000000##FFFFFF
##513ED71.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDC
Deuteranopia (green-blind)
#0054D4
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #513ed7;
/* rgb */ color: rgb(81, 62, 215);
/* oklch */ color: oklch(48.8% 0.221 279.9);
Tailwind
colors: {
  custom: {
    50: '#9176e5',
    500: '#513ed7',
    950: '#000000',
  },
}
SCSS
$custom: #513ed7;
$custom-light: #9176e5;
$custom-dark: #000000;
JSON
{
  "hex": "#513ed7",
  "rgb": {
    "r": 81,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 247.451,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48772,
    "c": 0.22121,
    "h": 279.9
  },
  "luminance": 0.10101
}

Semantic roles & 50–950 ramp

primary
#513ED7
secondary
#D1D998
accent
#E93FD4
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #513ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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