#5944AE#5944AE

#5944AE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.9% C 0.162 H 287.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5944AE
RGBrgb(89, 68, 174)
HSLhsl(252, 44%, 47%)
HSVhsv(252, 61%, 68%)
CMYKcmyk(48.9%, 60.9%, 0%, 31.8%)
CIE-LABlab(36.58, 36.31, -53.89)
CIE-LCHlch(36.58, 64.98, 303.97°)
OKLaboklab(46.85% 0.0488 -0.1541)
OKLCHoklch(46.85% 0.162 287.6)
XYZxyz(13.8247, 9.3135, 41.1054)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5944AE #99AE44
analogous
#4464AE #5944AE #8E44AE
triadic
#5944AE #AE5944 #44AE59
tetradic
#5944AE #AE4464 #99AE44 #44AE8E
square
#5944AE #AE4464 #99AE44 #44AE8E
split-complementary
#5944AE #AE8E44 #64AE44
monochromatic
#2C2256 #423382 #5944AE #7C6AC5 #A396D6

Accessibility & contrast

On white

7.34
#5944AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5944AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5944AE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5944AE#FFFFFF#000000##FFFFFF
##5944AE1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5944ae;
/* rgb */ color: rgb(89, 68, 174);
/* oklch */ color: oklch(46.9% 0.162 287.6);
Tailwind
colors: {
  custom: {
    50: '#8f79c7',
    500: '#5944ae',
    950: '#000000',
  },
}
SCSS
$custom: #5944ae;
$custom-light: #8f79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5944ae",
  "rgb": {
    "r": 89,
    "g": 68,
    "b": 174
  },
  "hsl": {
    "h": 251.887,
    "s": 43.802,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46853,
    "c": 0.1617,
    "h": 287.6
  },
  "luminance": 0.09314
}

Semantic roles & 50–950 ramp

primary
#5944AE
secondary
#B7C28C
accent
#D454BA
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5944AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5944AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva