#5A43AE#5A43AE

#5A43AE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.8% C 0.163 H 288.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5A43AE
RGBrgb(90, 67, 174)
HSLhsl(253, 44%, 47%)
HSVhsv(253, 61%, 68%)
CMYKcmyk(48.3%, 61.5%, 0%, 31.8%)
CIE-LABlab(36.45, 37.11, -54.10)
CIE-LCHlch(36.45, 65.61, 304.45°)
OKLaboklab(46.78% 0.0513 -0.1547)
OKLCHoklch(46.78% 0.163 288.3)
XYZxyz(13.8614, 9.2434, 41.0900)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43AE #97AE43
analogous
#4362AE #5A43AE #8F43AE
triadic
#5A43AE #AE5A43 #43AE5A
tetradic
#5A43AE #AE4362 #97AE43 #43AE8F
square
#5A43AE #AE4362 #97AE43 #43AE8F
split-complementary
#5A43AE #AE8F43 #62AE43
monochromatic
#2C2156 #433282 #5A43AE #7D69C5 #A395D6

Accessibility & contrast

On white

7.37
#5A43AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5A43AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A43AE
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43AE#FFFFFF#000000##FFFFFF
##5A43AE1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#3E5C72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5a43ae;
/* rgb */ color: rgb(90, 67, 174);
/* oklch */ color: oklch(46.8% 0.163 288.3);
Tailwind
colors: {
  custom: {
    50: '#8f78c7',
    500: '#5a43ae',
    950: '#000000',
  },
}
SCSS
$custom: #5a43ae;
$custom-light: #8f78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43ae",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 252.897,
    "s": 44.398,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46779,
    "c": 0.163,
    "h": 288.3
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#5A43AE
secondary
#B6C28B
accent
#D454B9
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5A43AE

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

Preview Lab → · Contrast checker → · Palette generator →

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