#5E52E6#5E52E6

#5E52E6 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.215 H 280.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5E52E6
RGBrgb(94, 82, 230)
HSLhsl(245, 75%, 61%)
HSVhsv(245, 64%, 90%)
CMYKcmyk(59.1%, 64.3%, 0%, 9.8%)
CIE-LABlab(44.41, 46.18, -73.58)
CIE-LCHlch(44.41, 86.87, 302.12°)
OKLaboklab(54.02% 0.0375 -0.2118)
OKLCHoklch(54.02% 0.215 280)
XYZxyz(21.9118, 14.1259, 76.4195)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52E6 #DAE652
analogous
#5290E6 #5E52E6 #A852E6
triadic
#5E52E6 #E65E52 #52E65E
tetradic
#5E52E6 #E65290 #DAE652 #52E6A8
square
#5E52E6 #E65290 #DAE652 #52E6A8
split-complementary
#5E52E6 #E6A852 #90E652
monochromatic
#2318A6 #2F20DB #5E52E6 #9087EE #C2BDF5

Accessibility & contrast

On white

5.49
#5E52E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5E52E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52E6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52E6#FFFFFF#000000##FFFFFF
##5E52E61.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e52e6;
/* rgb */ color: rgb(94, 82, 230);
/* oklch */ color: oklch(54.0% 0.215 280.0);
Tailwind
colors: {
  custom: {
    50: '#9983ef',
    500: '#5e52e6',
    950: '#000000',
  },
}
SCSS
$custom: #5e52e6;
$custom-light: #9983ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52e6",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 244.865,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.2151,
    "h": 280
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#5E52E6
secondary
#E1E6AE
accent
#D70FC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E52E6

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

Preview Lab → · Contrast checker → · Palette generator →

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