#5E52F7#5E52F7

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

Color values

HEX#5E52F7
RGBrgb(94, 82, 247)
HSLhsl(244, 91%, 65%)
HSVhsv(244, 67%, 97%)
CMYKcmyk(61.9%, 66.8%, 0%, 3.1%)
CIE-LABlab(45.81, 51.43, -80.86)
CIE-LCHlch(45.81, 95.83, 302.46°)
OKLaboklab(55.46% 0.0355 -0.2332)
OKLCHoklch(55.46% 0.236 278.7)
XYZxyz(24.4165, 15.1278, 89.6109)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52F7 #EBF752
analogous
#5298F7 #5E52F7 #B152F7
triadic
#5E52F7 #F75E52 #52F75E
tetradic
#5E52F7 #F75298 #EBF752 #52F7B1
square
#5E52F7 #F75298 #EBF752 #52F7B1
split-complementary
#5E52F7 #F7B152 #98F752
monochromatic
#1709C5 #2818F4 #5E52F7 #948CFA #CBC7FC

Accessibility & contrast

On white

5.22
#5E52F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5E52F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52F7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52F7#FFFFFF#000000##FFFFFF
##5E52F71.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.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: #5e52f7;
/* rgb */ color: rgb(94, 82, 247);
/* oklch */ color: oklch(55.5% 0.236 278.7);
Tailwind
colors: {
  custom: {
    50: '#9c84fb',
    500: '#5e52f7',
    950: '#000000',
  },
}
SCSS
$custom: #5e52f7;
$custom-light: #9c84fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52f7",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 247
  },
  "hsl": {
    "h": 244.364,
    "s": 91.16,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55457,
    "c": 0.23584,
    "h": 278.7
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E52F7

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

Preview Lab → · Contrast checker → · Palette generator →

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