#5943BA#5943BA

#5943BA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.6% C 0.179 H 285.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5943BA
RGBrgb(89, 67, 186)
HSLhsl(251, 47%, 50%)
HSVhsv(251, 64%, 73%)
CMYKcmyk(52.2%, 64%, 0%, 27.1%)
CIE-LABlab(37.27, 40.53, -59.87)
CIE-LCHlch(37.27, 72.30, 304.09°)
OKLaboklab(47.64% 0.049 -0.1717)
OKLCHoklch(47.64% 0.179 285.9)
XYZxyz(14.9873, 9.6826, 47.5241)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5943BA #A4BA43
analogous
#4369BA #5943BA #9443BA
triadic
#5943BA #BA5943 #43BA59
tetradic
#5943BA #BA4369 #A4BA43 #43BA94
square
#5943BA #BA4369 #A4BA43 #43BA94
split-complementary
#5943BA #BA9443 #69BA43
monochromatic
#2E2360 #43338D #5943BA #806FCB #A89CDB

Accessibility & contrast

On white

7.15
#5943BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5943BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5943BA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5943BA#FFFFFF#000000##FFFFFF
##5943BA1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#336078
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5943ba;
/* rgb */ color: rgb(89, 67, 186);
/* oklch */ color: oklch(47.6% 0.179 285.9);
Tailwind
colors: {
  custom: {
    50: '#9078d0',
    500: '#5943ba',
    950: '#000000',
  },
}
SCSS
$custom: #5943ba;
$custom-light: #9078d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5943ba",
  "rgb": {
    "r": 89,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 251.092,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47639,
    "c": 0.17858,
    "h": 285.9
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#5943BA
secondary
#BEC891
accent
#D751BE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5943BA

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

Preview Lab → · Contrast checker → · Palette generator →

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