#5A49CE#5A49CE

#5A49CE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.3% C 0.196 H 282.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5A49CE
RGBrgb(90, 73, 206)
HSLhsl(248, 58%, 55%)
HSVhsv(248, 65%, 81%)
CMYKcmyk(56.3%, 64.6%, 0%, 19.2%)
CIE-LABlab(40.24, 43.32, -66.69)
CIE-LCHlch(40.24, 79.52, 303.01°)
OKLaboklab(50.31% 0.0426 -0.1917)
OKLCHoklch(50.31% 0.196 282.5)
XYZxyz(17.7361, 11.3939, 59.6452)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49CE #BDCE49
analogous
#497BCE #5A49CE #9C49CE
triadic
#5A49CE #CE5A49 #49CE5A
tetradic
#5A49CE #CE497B #BDCE49 #49CE9C
square
#5A49CE #CE497B #BDCE49 #49CE9C
split-complementary
#5A49CE #CE9C49 #7BCE49
monochromatic
#2D217B #3E2EAC #5A49CE #8679DB #B1A9E8

Accessibility & contrast

On white

6.40
#5A49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5A49CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49CE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49CE#FFFFFF#000000##FFFFFF
##5A49CE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#1E6A85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a49ce;
/* rgb */ color: rgb(90, 73, 206);
/* oklch */ color: oklch(50.3% 0.196 282.5);
Tailwind
colors: {
  custom: {
    50: '#937dde',
    500: '#5a49ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a49ce;
$custom-light: #937dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49ce",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 247.669,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.1964,
    "h": 282.5
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#5A49CE
secondary
#CED59D
accent
#E147CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5A49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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