#5E52FF#5E52FF

#5E52FF is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 56.2% C 0.245 H 278.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5E52FF
RGBrgb(94, 82, 255)
HSLhsl(244, 100%, 66%)
HSVhsv(244, 68%, 100%)
CMYKcmyk(63.1%, 67.8%, 0%, 0%)
CIE-LABlab(46.49, 53.88, -84.21)
CIE-LCHlch(46.49, 99.97, 302.61°)
OKLaboklab(56.15% 0.0344 -0.243)
OKLCHoklch(56.15% 0.245 278.1)
XYZxyz(25.6776, 15.6322, 96.2525)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52FF #F3FF52
analogous
#529CFF #5E52FF #B452FF
triadic
#5E52FF #FF5E52 #52FF5E
tetradic
#5E52FF #FF529C #F3FF52 #52FFB4
square
#5E52FF #FF529C #F3FF52 #52FFB4
split-complementary
#5E52FF #FFB452 #9CFF52
monochromatic
#0F00D7 #2515FF #5E52FF #978FFF #D0CCFF

Accessibility & contrast

On white

5.09
#5E52FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5E52FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52FF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52FF#FFFFFF#000000##FFFFFF
##5E52FF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#0080A2
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e52ff;
/* rgb */ color: rgb(94, 82, 255);
/* oklch */ color: oklch(56.2% 0.245 278.1);
Tailwind
colors: {
  custom: {
    50: '#9d84ff',
    500: '#5e52ff',
    950: '#000000',
  },
}
SCSS
$custom: #5e52ff;
$custom-light: #9d84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52ff",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 244.162,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56154,
    "c": 0.24539,
    "h": 278.1
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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