#5947AC#5947AC

#5947AC is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.2% C 0.155 H 287.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5947AC
RGBrgb(89, 71, 172)
HSLhsl(251, 42%, 48%)
HSVhsv(251, 59%, 67%)
CMYKcmyk(48.3%, 58.7%, 0%, 32.5%)
CIE-LABlab(37.13, 33.90, -51.81)
CIE-LCHlch(37.13, 61.92, 303.19°)
OKLaboklab(47.21% 0.0455 -0.148)
OKLCHoklch(47.21% 0.155 287.1)
XYZxyz(13.8173, 9.6083, 40.1483)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947AC #9AAC47
analogous
#4767AC #5947AC #8B47AC
triadic
#5947AC #AC5947 #47AC59
tetradic
#5947AC #AC4767 #9AAC47 #47AC8B
square
#5947AC #AC4767 #9AAC47 #47AC8B
split-complementary
#5947AC #AC8B47 #67AC47
monochromatic
#2C2355 #433581 #5947AC #7D6DC3 #A399D5

Accessibility & contrast

On white

7.19
#5947AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5947AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5947AC#FFFFFF#000000##FFFFFF
##5947AC1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#3D5E72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5947ac;
/* rgb */ color: rgb(89, 71, 172);
/* oklch */ color: oklch(47.2% 0.155 287.1);
Tailwind
colors: {
  custom: {
    50: '#8e7bc5',
    500: '#5947ac',
    950: '#000000',
  },
}
SCSS
$custom: #5947ac;
$custom-light: #8e7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5947ac",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 250.693,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47211,
    "c": 0.15487,
    "h": 287.1
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#5947AC
secondary
#B8C18E
accent
#D156BB
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5947AC

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

Preview Lab → · Contrast checker → · Palette generator →

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