#5947AA#5947AA

#5947AA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.1% C 0.152 H 287.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5947AA
RGBrgb(89, 71, 170)
HSLhsl(251, 41%, 47%)
HSVhsv(251, 58%, 67%)
CMYKcmyk(47.6%, 58.2%, 0%, 33.3%)
CIE-LABlab(36.99, 33.29, -50.85)
CIE-LCHlch(36.99, 60.78, 303.21°)
OKLaboklab(47.06% 0.0455 -0.1452)
OKLCHoklch(47.06% 0.152 287.4)
XYZxyz(13.6267, 9.5320, 39.1443)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947AA #98AA47
analogous
#4767AA #5947AA #8B47AA
triadic
#5947AA #AA5947 #47AA59
tetradic
#5947AA #AA4767 #98AA47 #47AA8B
square
#5947AA #AA4767 #98AA47 #47AA8B
split-complementary
#5947AA #AA8B47 #67AA47
monochromatic
#2C2354 #42357F #5947AA #7C6CC2 #A398D4

Accessibility & contrast

On white

7.22
#5947AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5947AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5947AA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947AA#FFFFFF#000000##FFFFFF
##5947AA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#3E5D71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5947aa;
/* rgb */ color: rgb(89, 71, 170);
/* oklch */ color: oklch(47.1% 0.152 287.4);
Tailwind
colors: {
  custom: {
    50: '#8e7bc4',
    500: '#5947aa',
    950: '#000000',
  },
}
SCSS
$custom: #5947aa;
$custom-light: #8e7bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5947aa",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 250.909,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47062,
    "c": 0.15216,
    "h": 287.4
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#5947AA
secondary
#B7C08D
accent
#D157BB
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5947AA

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

Preview Lab → · Contrast checker → · Palette generator →

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