#5943AE#5943AE

#5943AE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.7% C 0.163 H 287.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5943AE
RGBrgb(89, 67, 174)
HSLhsl(252, 44%, 47%)
HSVhsv(252, 61%, 68%)
CMYKcmyk(48.9%, 61.5%, 0%, 31.8%)
CIE-LABlab(36.35, 36.91, -54.26)
CIE-LCHlch(36.35, 65.62, 304.22°)
OKLaboklab(46.69% 0.0499 -0.1552)
OKLCHoklch(46.69% 0.163 287.8)
XYZxyz(13.7647, 9.1936, 41.0855)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943AE #98AE43
analogous
#4363AE #5943AE #8E43AE
triadic
#5943AE #AE5943 #43AE59
tetradic
#5943AE #AE4363 #98AE43 #43AE8E
square
#5943AE #AE4363 #98AE43 #43AE8E
split-complementary
#5943AE #AE8E43 #63AE43
monochromatic
#2C2156 #423282 #5943AE #7C69C5 #A395D6

Accessibility & contrast

On white

7.40
#5943AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5943AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5943AE
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943AE#FFFFFF#000000##FFFFFF
##5943AE1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5943ae;
/* rgb */ color: rgb(89, 67, 174);
/* oklch */ color: oklch(46.7% 0.163 287.8);
Tailwind
colors: {
  custom: {
    50: '#8f78c7',
    500: '#5943ae',
    950: '#000000',
  },
}
SCSS
$custom: #5943ae;
$custom-light: #8f78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5943ae",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 252.336,
    "s": 44.398,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.16306,
    "h": 287.8
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5943AE

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

Preview Lab → · Contrast checker → · Palette generator →

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