#5843AA#5843AA

#5843AA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.3% C 0.158 H 288.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5843AA
RGBrgb(88, 67, 170)
HSLhsl(252, 43%, 46%)
HSVhsv(252, 61%, 67%)
CMYKcmyk(48.2%, 60.6%, 0%, 33.3%)
CIE-LABlab(35.97, 35.49, -52.51)
CIE-LCHlch(35.97, 63.38, 304.06°)
OKLaboklab(46.29% 0.0488 -0.1501)
OKLCHoklch(46.29% 0.158 288)
XYZxyz(13.2853, 8.9907, 39.0578)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5843AA #95AA43
analogous
#4362AA #5843AA #8C43AA
triadic
#5843AA #AA5843 #43AA58
tetradic
#5843AA #AA4362 #95AA43 #43AA8C
square
#5843AA #AA4362 #95AA43 #43AA8C
split-complementary
#5843AA #AA8C43 #62AA43
monochromatic
#2B2052 #41327E #5843AA #7A67C3 #A093D4

Accessibility & contrast

On white

7.50
#5843AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5843AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5843AA#FFFFFF#000000##FFFFFF
##5843AA1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#3D5B70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5843aa;
/* rgb */ color: rgb(88, 67, 170);
/* oklch */ color: oklch(46.3% 0.158 288.0);
Tailwind
colors: {
  custom: {
    50: '#8e78c4',
    500: '#5843aa',
    950: '#000000',
  },
}
SCSS
$custom: #5843aa;
$custom-light: #8e78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5843aa",
  "rgb": {
    "r": 88,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 252.233,
    "s": 43.46,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.15784,
    "h": 288
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#5843AA
secondary
#B5C089
accent
#D355B9
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5843AA

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

Preview Lab → · Contrast checker → · Palette generator →

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