#513DED#513DED

#513DED is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.7% C 0.248 H 278.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#513DED
RGBrgb(81, 61, 237)
HSLhsl(247, 83%, 58%)
HSVhsv(247, 74%, 93%)
CMYKcmyk(65.8%, 74.3%, 0%, 7.1%)
CIE-LABlab(39.91, 58.08, -84.96)
CIE-LCHlch(39.91, 102.91, 304.36°)
OKLaboklab(50.74% 0.0343 -0.2454)
OKLCHoklch(50.74% 0.248 278)
XYZxyz(20.3432, 11.1995, 81.1940)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#513DED #D9ED3D
analogous
#3D81ED #513DED #A93DED
triadic
#513DED #ED513D #3DED51
tetradic
#513DED #ED3D81 #D9ED3D #3DEDA9
square
#513DED #ED3D81 #D9ED3D #3DEDA9
split-complementary
#513DED #EDA93D #81ED3D
monochromatic
#1F0FA1 #2A14D9 #513DED #8375F2 #B5ADF7

Accessibility & contrast

On white

6.48
#513DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#513DED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #513DED
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##513DED#FFFFFF#000000##FFFFFF
##513DED1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065F2
Deuteranopia (green-blind)
#0057EA
Tritanopia (blue-blind)
#007093
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #513ded;
/* rgb */ color: rgb(81, 61, 237);
/* oklch */ color: oklch(50.7% 0.248 278.0);
Tailwind
colors: {
  custom: {
    50: '#9576f4',
    500: '#513ded',
    950: '#000000',
  },
}
SCSS
$custom: #513ded;
$custom-light: #9576f4;
$custom-dark: #000000;
JSON
{
  "hex": "#513ded",
  "rgb": {
    "r": 81,
    "g": 61,
    "b": 237
  },
  "hsl": {
    "h": 246.818,
    "s": 83.019,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50739,
    "c": 0.24779,
    "h": 278
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#513DED
secondary
#DEE6A0
accent
#F92EE2
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #513DED

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

Preview Lab → · Contrast checker → · Palette generator →

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