#5D52F7#5D52F7

#5D52F7 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.4% C 0.236 H 278.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5D52F7
RGBrgb(93, 82, 247)
HSLhsl(244, 91%, 65%)
HSVhsv(244, 67%, 97%)
CMYKcmyk(62.3%, 66.8%, 0%, 3.1%)
CIE-LABlab(45.74, 51.30, -80.98)
CIE-LCHlch(45.74, 95.86, 302.35°)
OKLaboklab(55.39% 0.0343 -0.2335)
OKLCHoklch(55.39% 0.236 278.3)
XYZxyz(24.3146, 15.0752, 89.6061)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52F7 #ECF752
analogous
#529AF7 #5D52F7 #B052F7
triadic
#5D52F7 #F75D52 #52F75D
tetradic
#5D52F7 #F7529A #ECF752 #52F7B0
square
#5D52F7 #F7529A #ECF752 #52F7B0
split-complementary
#5D52F7 #F7B052 #9AF752
monochromatic
#1609C5 #2618F4 #5D52F7 #948CFA #CBC7FC

Accessibility & contrast

On white

5.23
#5D52F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5D52F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52F7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52F7#FFFFFF#000000##FFFFFF
##5D52F71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FC
Deuteranopia (green-blind)
#0066F4
Tritanopia (blue-blind)
#007E9E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d52f7;
/* rgb */ color: rgb(93, 82, 247);
/* oklch */ color: oklch(55.4% 0.236 278.3);
Tailwind
colors: {
  custom: {
    50: '#9b84fb',
    500: '#5d52f7',
    950: '#000000',
  },
}
SCSS
$custom: #5d52f7;
$custom-light: #9b84fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52f7",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 247
  },
  "hsl": {
    "h": 244,
    "s": 91.16,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.23604,
    "h": 278.3
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#5D52F7
secondary
#EBEFB6
accent
#E600D6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5D52F7

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

Preview Lab → · Contrast checker → · Palette generator →

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