#5D52ED#5D52ED

#5D52ED is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.5% C 0.224 H 279.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5D52ED
RGBrgb(93, 82, 237)
HSLhsl(244, 81%, 63%)
HSVhsv(244, 65%, 93%)
CMYKcmyk(60.8%, 65.4%, 0%, 7.1%)
CIE-LABlab(44.91, 48.20, -76.73)
CIE-LCHlch(44.91, 90.61, 302.14°)
OKLaboklab(54.53% 0.0355 -0.2211)
OKLCHoklch(54.53% 0.224 279.1)
XYZxyz(22.8127, 14.4744, 81.6960)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52ED #E2ED52
analogous
#5295ED #5D52ED #AA52ED
triadic
#5D52ED #ED5D52 #52ED5D
tetradic
#5D52ED #ED5295 #E2ED52 #52EDAA
square
#5D52ED #ED5295 #E2ED52 #52EDAA
split-complementary
#5D52ED #EDAA52 #95ED52
monochromatic
#1E13B2 #291BE7 #5D52ED #9189F3 #C5C1F9

Accessibility & contrast

On white

5.39
#5D52ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5D52ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52ED
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52ED#FFFFFF#000000##FFFFFF
##5D52ED1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0064EA
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d52ed;
/* rgb */ color: rgb(93, 82, 237);
/* oklch */ color: oklch(54.5% 0.224 279.1);
Tailwind
colors: {
  custom: {
    50: '#9984f4',
    500: '#5d52ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d52ed;
$custom-light: #9984f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52ed",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 244.258,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.22391,
    "h": 279.1
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#5D52ED
secondary
#E6EAB1
accent
#DE08CE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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