#5947B2#5947B2

#5947B2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.7% C 0.163 H 286.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5947B2
RGBrgb(89, 71, 178)
HSLhsl(250, 43%, 49%)
HSVhsv(250, 60%, 70%)
CMYKcmyk(50%, 60.1%, 0%, 30.2%)
CIE-LABlab(37.56, 35.72, -54.67)
CIE-LCHlch(37.56, 65.31, 303.16°)
OKLaboklab(47.66% 0.0453 -0.1564)
OKLCHoklch(47.66% 0.163 286.2)
XYZxyz(14.4066, 9.8440, 43.2518)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947B2 #A0B247
analogous
#476BB2 #5947B2 #8F47B2
triadic
#5947B2 #B25947 #47B259
tetradic
#5947B2 #B2476B #A0B247 #47B28F
square
#5947B2 #B2476B #A0B247 #47B28F
split-complementary
#5947B2 #B28F47 #6BB247
monochromatic
#2D245B #433686 #5947B2 #7F70C6 #A69CD7

Accessibility & contrast

On white

7.07
#5947B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5947B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5947B2#FFFFFF#000000##FFFFFF
##5947B21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#396075
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5947b2;
/* rgb */ color: rgb(89, 71, 178);
/* oklch */ color: oklch(47.7% 0.163 286.2);
Tailwind
colors: {
  custom: {
    50: '#8f7bca',
    500: '#5947b2',
    950: '#000000',
  },
}
SCSS
$custom: #5947b2;
$custom-light: #8f7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#5947b2",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 250.093,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47664,
    "c": 0.16288,
    "h": 286.2
  },
  "luminance": 0.09845
}

Semantic roles & 50–950 ramp

primary
#5947B2
secondary
#BBC491
accent
#D355BE
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5947B2

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

Preview Lab → · Contrast checker → · Palette generator →

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