#5A43DF#5A43DF

#5A43DF is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.9% C 0.224 H 281.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5A43DF
RGBrgb(90, 67, 223)
HSLhsl(249, 71%, 57%)
HSVhsv(249, 70%, 87%)
CMYKcmyk(59.6%, 70%, 0%, 12.5%)
CIE-LABlab(40.43, 51.84, -76.13)
CIE-LCHlch(40.43, 92.10, 304.26°)
OKLaboklab(50.89% 0.0451 -0.2194)
OKLCHoklch(50.89% 0.224 281.6)
XYZxyz(19.5387, 11.5143, 70.9906)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43DF #C8DF43
analogous
#437ADF #5A43DF #A843DF
triadic
#5A43DF #DF5A43 #43DF5A
tetradic
#5A43DF #DF437A #C8DF43 #43DFA8
square
#5A43DF #DF437A #C8DF43 #43DFA8
split-complementary
#5A43DF #DFA843 #7ADF43
monochromatic
#2A188F #3921C4 #5A43DF #8877E8 #B6ACF1

Accessibility & contrast

On white

6.36
#5A43DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5A43DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A43DF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43DF#FFFFFF#000000##FFFFFF
##5A43DF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#005ADC
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a43df;
/* rgb */ color: rgb(90, 67, 223);
/* oklch */ color: oklch(50.9% 0.224 281.6);
Tailwind
colors: {
  custom: {
    50: '#9779ea',
    500: '#5a43df',
    950: '#000000',
  },
}
SCSS
$custom: #5a43df;
$custom-light: #9779ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43df",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 223
  },
  "hsl": {
    "h": 248.846,
    "s": 70.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.22398,
    "h": 281.6
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#5A43DF
secondary
#D5DF9F
accent
#EE3AD3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5A43DF

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

Preview Lab → · Contrast checker → · Palette generator →

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