#5947AF#5947AF

#5947AF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.4% C 0.159 H 286.6°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5947AF
RGBrgb(89, 71, 175)
HSLhsl(250, 42%, 48%)
HSVhsv(250, 59%, 69%)
CMYKcmyk(49.1%, 59.4%, 0%, 31.4%)
CIE-LABlab(37.34, 34.81, -53.25)
CIE-LCHlch(37.34, 63.62, 303.17°)
OKLaboklab(47.44% 0.0454 -0.1522)
OKLCHoklch(47.44% 0.159 286.6)
XYZxyz(14.1087, 9.7248, 41.6828)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947AF #9DAF47
analogous
#4769AF #5947AF #8D47AF
triadic
#5947AF #AF5947 #47AF59
tetradic
#5947AF #AF4769 #9DAF47 #47AF8D
square
#5947AF #AF4769 #9DAF47 #47AF8D
split-complementary
#5947AF #AF8D47 #69AF47
monochromatic
#2D2458 #433583 #5947AF #7E6FC4 #A59AD6

Accessibility & contrast

On white

7.13
#5947AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5947AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5947AF#FFFFFF#000000##FFFFFF
##5947AF1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#3B5F74
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5947af;
/* rgb */ color: rgb(89, 71, 175);
/* oklch */ color: oklch(47.4% 0.159 286.6);
Tailwind
colors: {
  custom: {
    50: '#8f7bc8',
    500: '#5947af',
    950: '#000000',
  },
}
SCSS
$custom: #5947af;
$custom-light: #8f7bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5947af",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 250.385,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47436,
    "c": 0.15889,
    "h": 286.6
  },
  "luminance": 0.09725
}

Semantic roles & 50–950 ramp

primary
#5947AF
secondary
#BAC28F
accent
#D256BD
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5947AF

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

Preview Lab → · Contrast checker → · Palette generator →

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