#5A43D9#5A43D9

#5A43D9 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.4% C 0.217 H 282.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5A43D9
RGBrgb(90, 67, 217)
HSLhsl(249, 66%, 56%)
HSVhsv(249, 69%, 85%)
CMYKcmyk(58.5%, 69.1%, 0%, 14.9%)
CIE-LABlab(39.91, 50.05, -73.55)
CIE-LCHlch(39.91, 88.96, 304.23°)
OKLaboklab(50.36% 0.0462 -0.2118)
OKLCHoklch(50.36% 0.217 282.3)
XYZxyz(18.7441, 11.1965, 66.8056)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43D9 #C2D943
analogous
#4377D9 #5A43D9 #A543D9
triadic
#5A43D9 #D95A43 #43D95A
tetradic
#5A43D9 #D94377 #C2D943 #43D9A5
square
#5A43D9 #D94377 #C2D943 #43D9A5
split-complementary
#5A43D9 #D9A543 #77D943
monochromatic
#2C1B86 #3C25B9 #5A43D9 #8776E3 #B3A9EE

Accessibility & contrast

On white

6.48
#5A43D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5A43D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43D9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43D9#FFFFFF#000000##FFFFFF
##5A43D91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#0059D6
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a43d9;
/* rgb */ color: rgb(90, 67, 217);
/* oklch */ color: oklch(50.4% 0.217 282.3);
Tailwind
colors: {
  custom: {
    50: '#9679e6',
    500: '#5a43d9',
    950: '#000000',
  },
}
SCSS
$custom: #5a43d9;
$custom-light: #9679e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43d9",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 217
  },
  "hsl": {
    "h": 249.2,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50357,
    "c": 0.21682,
    "h": 282.3
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#5A43D9
secondary
#D2DB9D
accent
#E93FCF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5A43D9

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

Preview Lab → · Contrast checker → · Palette generator →

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