#5A48ED#5A48ED

#5A48ED is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.8% C 0.235 H 279.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5A48ED
RGBrgb(90, 72, 237)
HSLhsl(247, 82%, 61%)
HSVhsv(247, 70%, 93%)
CMYKcmyk(62%, 69.6%, 0%, 7.1%)
CIE-LABlab(42.64, 53.36, -80.44)
CIE-LCHlch(42.64, 96.53, 303.56°)
OKLaboklab(52.85% 0.0391 -0.232)
OKLCHoklch(52.85% 0.235 279.6)
XYZxyz(21.8150, 12.9211, 81.4488)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48ED #DBED48
analogous
#4889ED #5A48ED #AC48ED
triadic
#5A48ED #ED5A48 #48ED5A
tetradic
#5A48ED #ED4889 #DBED48 #48EDAC
square
#5A48ED #ED4889 #DBED48 #48EDAC
split-complementary
#5A48ED #EDAC48 #89ED48
monochromatic
#2111AA #2C16E2 #5A48ED #8C80F2 #BEB7F8

Accessibility & contrast

On white

5.86
#5A48ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5A48ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48ED
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48ED#FFFFFF#000000##FFFFFF
##5A48ED1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF2
Deuteranopia (green-blind)
#005EEA
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a48ed;
/* rgb */ color: rgb(90, 72, 237);
/* oklch */ color: oklch(52.8% 0.235 279.6);
Tailwind
colors: {
  custom: {
    50: '#997df4',
    500: '#5a48ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a48ed;
$custom-light: #997df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48ed",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 246.545,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.23531,
    "h": 279.6
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#5A48ED
secondary
#E1E8A9
accent
#DE07C7
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A48ED

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

Preview Lab → · Contrast checker → · Palette generator →

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