#5844AE#5844AE

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

Color values

HEX#5844AE
RGBrgb(88, 68, 174)
HSLhsl(251, 44%, 47%)
HSVhsv(251, 61%, 68%)
CMYKcmyk(49.4%, 60.9%, 0%, 31.8%)
CIE-LABlab(36.49, 36.10, -54.05)
CIE-LCHlch(36.49, 64.99, 303.74°)
OKLaboklab(46.76% 0.0475 -0.1546)
OKLCHoklch(46.76% 0.162 287.1)
XYZxyz(13.7294, 9.2643, 41.1010)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5844AE #9AAE44
analogous
#4465AE #5844AE #8D44AE
triadic
#5844AE #AE5844 #44AE58
tetradic
#5844AE #AE4465 #9AAE44 #44AE8D
square
#5844AE #AE4465 #9AAE44 #44AE8D
split-complementary
#5844AE #AE8D44 #65AE44
monochromatic
#2B2256 #423382 #5844AE #7B6AC5 #A296D6

Accessibility & contrast

On white

7.36
#5844AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5844AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5844AE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5844AE#FFFFFF#000000##FFFFFF
##5844AE1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5844ae;
/* rgb */ color: rgb(88, 68, 174);
/* oklch */ color: oklch(46.8% 0.162 287.1);
Tailwind
colors: {
  custom: {
    50: '#8e79c7',
    500: '#5844ae',
    950: '#000000',
  },
}
SCSS
$custom: #5844ae;
$custom-light: #8e79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5844ae",
  "rgb": {
    "r": 88,
    "g": 68,
    "b": 174
  },
  "hsl": {
    "h": 251.321,
    "s": 43.802,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46763,
    "c": 0.16175,
    "h": 287.1
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

primary
#5844AE
secondary
#B8C28C
accent
#D454BC
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5844AE

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

Preview Lab → · Contrast checker → · Palette generator →

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