#5D48ED#5D48ED

#5D48ED is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 53.1% C 0.235 H 280.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5D48ED
RGBrgb(93, 72, 237)
HSLhsl(248, 82%, 61%)
HSVhsv(248, 70%, 93%)
CMYKcmyk(60.8%, 69.6%, 0%, 7.1%)
CIE-LABlab(42.88, 53.74, -80.05)
CIE-LCHlch(42.88, 96.42, 303.88°)
OKLaboklab(53.07% 0.043 -0.2308)
OKLCHoklch(53.07% 0.235 280.5)
XYZxyz(22.1128, 13.0747, 81.4627)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48ED #D8ED48
analogous
#4886ED #5D48ED #AF48ED
triadic
#5D48ED #ED5D48 #48ED5D
tetradic
#5D48ED #ED4886 #D8ED48 #48EDAF
square
#5D48ED #ED4886 #D8ED48 #48EDAF
split-complementary
#5D48ED #EDAF48 #86ED48
monochromatic
#2411AA #3016E2 #5D48ED #8E80F2 #C0B7F8

Accessibility & contrast

On white

5.81
#5D48ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5D48ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48ED
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48ED#FFFFFF#000000##FFFFFF
##5D48ED1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF2
Deuteranopia (green-blind)
#005FEA
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d48ed;
/* rgb */ color: rgb(93, 72, 237);
/* oklch */ color: oklch(53.1% 0.235 280.5);
Tailwind
colors: {
  custom: {
    50: '#9a7df4',
    500: '#5d48ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d48ed;
$custom-light: #9a7df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48ed",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 247.636,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5307,
    "c": 0.23479,
    "h": 280.5
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#5D48ED
secondary
#E0E8A9
accent
#DE07C3
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D48ED

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

Preview Lab → · Contrast checker → · Palette generator →

#5D48ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva