#5947AB#5947AB

#5947AB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.1% C 0.154 H 287.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5947AB
RGBrgb(89, 71, 171)
HSLhsl(251, 41%, 47%)
HSVhsv(251, 58%, 67%)
CMYKcmyk(48%, 58.5%, 0%, 32.9%)
CIE-LABlab(37.06, 33.59, -51.33)
CIE-LCHlch(37.06, 61.35, 303.20°)
OKLaboklab(47.14% 0.0455 -0.1466)
OKLCHoklch(47.14% 0.154 287.2)
XYZxyz(13.7216, 9.5700, 39.6444)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947AB #99AB47
analogous
#4767AB #5947AB #8B47AB
triadic
#5947AB #AB5947 #47AB59
tetradic
#5947AB #AB4767 #99AB47 #47AB8B
square
#5947AB #AB4767 #99AB47 #47AB8B
split-complementary
#5947AB #AB8B47 #67AB47
monochromatic
#2C2355 #423580 #5947AB #7C6DC2 #A398D4

Accessibility & contrast

On white

7.21
#5947AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5947AB#FFFFFF#000000##FFFFFF
##5947AB1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#3E5E72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5947ab;
/* rgb */ color: rgb(89, 71, 171);
/* oklch */ color: oklch(47.1% 0.154 287.2);
Tailwind
colors: {
  custom: {
    50: '#8e7bc5',
    500: '#5947ab',
    950: '#000000',
  },
}
SCSS
$custom: #5947ab;
$custom-light: #8e7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5947ab",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 250.8,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47136,
    "c": 0.15351,
    "h": 287.2
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5947AB

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

Preview Lab → · Contrast checker → · Palette generator →

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