#5A43DC#5A43DC

#5A43DC is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.220 H 282.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5A43DC
RGBrgb(90, 67, 220)
HSLhsl(249, 69%, 56%)
HSVhsv(249, 70%, 86%)
CMYKcmyk(59.1%, 69.5%, 0%, 13.7%)
CIE-LABlab(40.17, 50.94, -74.84)
CIE-LCHlch(40.17, 90.54, 304.24°)
OKLaboklab(50.62% 0.0457 -0.2156)
OKLCHoklch(50.62% 0.22 282)
XYZxyz(19.1378, 11.3540, 68.8793)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43DC #C5DC43
analogous
#4379DC #5A43DC #A743DC
triadic
#5A43DC #DC5A43 #43DC5A
tetradic
#5A43DC #DC4379 #C5DC43 #43DCA7
square
#5A43DC #DC4379 #C5DC43 #43DCA7
split-complementary
#5A43DC #DCA743 #79DC43
monochromatic
#2B1A8B #3B23BE #5A43DC #8777E6 #B5AAEF

Accessibility & contrast

On white

6.42
#5A43DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5A43DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43DC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43DC#FFFFFF#000000##FFFFFF
##5A43DC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0059D9
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a43dc;
/* rgb */ color: rgb(90, 67, 220);
/* oklch */ color: oklch(50.6% 0.220 282.0);
Tailwind
colors: {
  custom: {
    50: '#9679e8',
    500: '#5a43dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a43dc;
$custom-light: #9679e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43dc",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 249.02,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.22041,
    "h": 282
  },
  "luminance": 0.11355
}

Semantic roles & 50–950 ramp

primary
#5A43DC
secondary
#D3DD9E
accent
#EB3CD1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5A43DC

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

Preview Lab → · Contrast checker → · Palette generator →

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