#5A4CF7#5A4CF7

#5A4CF7 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.3% C 0.243 H 278.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5A4CF7
RGBrgb(90, 76, 247)
HSLhsl(245, 91%, 63%)
HSVhsv(245, 69%, 97%)
CMYKcmyk(63.6%, 69.2%, 0%, 3.1%)
CIE-LABlab(44.31, 54.22, -83.32)
CIE-LCHlch(44.31, 99.41, 303.05°)
OKLaboklab(54.31% 0.0347 -0.2405)
OKLCHoklch(54.31% 0.243 278.2)
XYZxyz(23.5840, 14.0560, 89.4479)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4CF7 #E9F74C
analogous
#4C93F7 #5A4CF7 #AF4CF7
triadic
#5A4CF7 #F75A4C #4CF75A
tetradic
#5A4CF7 #F74C93 #E9F74C #4CF7AF
square
#5A4CF7 #F74C93 #E9F74C #4CF7AF
split-complementary
#5A4CF7 #F7AF4C #93F74C
monochromatic
#1809C0 #2411F4 #5A4CF7 #9087FA #C6C1FC

Accessibility & contrast

On white

5.51
#5A4CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5A4CF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4CF7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4CF7#FFFFFF#000000##FFFFFF
##5A4CF71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FC
Deuteranopia (green-blind)
#0062F4
Tritanopia (blue-blind)
#007B9C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a4cf7;
/* rgb */ color: rgb(90, 76, 247);
/* oklch */ color: oklch(54.3% 0.243 278.2);
Tailwind
colors: {
  custom: {
    50: '#9a80fb',
    500: '#5a4cf7',
    950: '#000000',
  },
}
SCSS
$custom: #5a4cf7;
$custom-light: #9a80fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4cf7",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 244.912,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.24297,
    "h": 278.2
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#5A4CF7
secondary
#E9EEB1
accent
#E600D3
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5A4CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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