#5A53ED#5A53ED

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

Color values

HEX#5A53ED
RGBrgb(90, 83, 237)
HSLhsl(243, 81%, 63%)
HSVhsv(243, 65%, 93%)
CMYKcmyk(62%, 65%, 0%, 7.1%)
CIE-LABlab(44.90, 47.20, -76.74)
CIE-LCHlch(44.90, 90.10, 301.60°)
OKLaboklab(54.47% 0.031 -0.2212)
OKLCHoklch(54.47% 0.223 278)
XYZxyz(22.5908, 14.4728, 81.7074)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53ED #E6ED53
analogous
#5399ED #5A53ED #A753ED
triadic
#5A53ED #ED5A53 #53ED5A
tetradic
#5A53ED #ED5399 #E6ED53 #53EDA7
square
#5A53ED #ED5399 #E6ED53 #53EDA7
split-complementary
#5A53ED #EDA753 #99ED53
monochromatic
#1A13B3 #251CE7 #5A53ED #8F8AF3 #C4C2F9

Accessibility & contrast

On white

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

On black

3.89
#5A53ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A53ED#FFFFFF#000000##FFFFFF
##5A53ED1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a53ed;
/* rgb */ color: rgb(90, 83, 237);
/* oklch */ color: oklch(54.5% 0.223 278.0);
Tailwind
colors: {
  custom: {
    50: '#9884f4',
    500: '#5a53ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a53ed;
$custom-light: #9884f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53ed",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 237
  },
  "hsl": {
    "h": 242.727,
    "s": 81.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54474,
    "c": 0.22337,
    "h": 278
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#5A53ED
secondary
#E7EAB2
accent
#DD08D4
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A53ED

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

Preview Lab → · Contrast checker → · Palette generator →

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