#5843AE#5843AE

#5843AE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.6% C 0.163 H 287.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5843AE
RGBrgb(88, 67, 174)
HSLhsl(252, 44%, 47%)
HSVhsv(252, 61%, 68%)
CMYKcmyk(49.4%, 61.5%, 0%, 31.8%)
CIE-LABlab(36.26, 36.70, -54.41)
CIE-LCHlch(36.26, 65.63, 304.00°)
OKLaboklab(46.6% 0.0486 -0.1557)
OKLCHoklch(46.6% 0.163 287.3)
XYZxyz(13.6694, 9.1444, 41.0810)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843AE #99AE43
analogous
#4363AE #5843AE #8E43AE
triadic
#5843AE #AE5843 #43AE58
tetradic
#5843AE #AE4363 #99AE43 #43AE8E
square
#5843AE #AE4363 #99AE43 #43AE8E
split-complementary
#5843AE #AE8E43 #63AE43
monochromatic
#2B2156 #423282 #5843AE #7B69C5 #A295D6

Accessibility & contrast

On white

7.42
#5843AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5843AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5843AE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5843AE#FFFFFF#000000##FFFFFF
##5843AE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#3A5C72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5843ae;
/* rgb */ color: rgb(88, 67, 174);
/* oklch */ color: oklch(46.6% 0.163 287.3);
Tailwind
colors: {
  custom: {
    50: '#8e78c7',
    500: '#5843ae',
    950: '#000000',
  },
}
SCSS
$custom: #5843ae;
$custom-light: #8e78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5843ae",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 251.776,
    "s": 44.398,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46597,
    "c": 0.16312,
    "h": 287.3
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#5843AE
secondary
#B7C28B
accent
#D454BB
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5843AE

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

Preview Lab → · Contrast checker → · Palette generator →

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