#5A4CED#5A4CED

#5A4CED is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.4% C 0.231 H 279.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5A4CED
RGBrgb(90, 76, 237)
HSLhsl(245, 82%, 61%)
HSVhsv(245, 68%, 93%)
CMYKcmyk(62%, 67.9%, 0%, 7.1%)
CIE-LABlab(43.44, 51.16, -79.13)
CIE-LCHlch(43.44, 94.23, 302.88°)
OKLaboklab(53.42% 0.0363 -0.2282)
OKLCHoklch(53.42% 0.231 279)
XYZxyz(22.0821, 13.4552, 81.5378)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4CED #DFED4C
analogous
#4C8FED #5A4CED #AA4CED
triadic
#5A4CED #ED5A4C #4CED5A
tetradic
#5A4CED #ED4C8F #DFED4C #4CEDAA
square
#5A4CED #ED4C8F #DFED4C #4CEDAA
split-complementary
#5A4CED #EDAA4C #8FED4C
monochromatic
#1F11AD #2917E5 #5A4CED #8D84F3 #C1BBF8

Accessibility & contrast

On white

5.69
#5A4CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5A4CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4CED
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4CED#FFFFFF#000000##FFFFFF
##5A4CED1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF2
Deuteranopia (green-blind)
#0060EA
Tritanopia (blue-blind)
#007797
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a4ced;
/* rgb */ color: rgb(90, 76, 237);
/* oklch */ color: oklch(53.4% 0.231 279.0);
Tailwind
colors: {
  custom: {
    50: '#9880f4',
    500: '#5a4ced',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ced;
$custom-light: #9880f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ced",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 237
  },
  "hsl": {
    "h": 245.217,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53418,
    "c": 0.23108,
    "h": 279
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#5A4CED
secondary
#E3E8AC
accent
#DE07CB
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A4CED

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

Preview Lab → · Contrast checker → · Palette generator →

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