#5947ED#5947ED

#5947ED is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.6% C 0.237 H 279.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5947ED
RGBrgb(89, 71, 237)
HSLhsl(247, 82%, 60%)
HSVhsv(247, 70%, 93%)
CMYKcmyk(62.4%, 70%, 0%, 7.1%)
CIE-LABlab(42.37, 53.77, -80.89)
CIE-LCHlch(42.37, 97.13, 303.61°)
OKLaboklab(52.63% 0.0385 -0.2334)
OKLCHoklch(52.63% 0.237 279.4)
XYZxyz(21.6542, 12.7431, 81.4229)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947ED #DBED47
analogous
#4788ED #5947ED #AC47ED
triadic
#5947ED #ED5947 #47ED59
tetradic
#5947ED #ED4788 #DBED47 #47EDAC
square
#5947ED #ED4788 #DBED47 #47EDAC
split-complementary
#5947ED #EDAC47 #88ED47
monochromatic
#2111A9 #2C16E1 #5947ED #8B7FF2 #BEB6F8

Accessibility & contrast

On white

5.92
#5947ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5947ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5947ED#FFFFFF#000000##FFFFFF
##5947ED1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF2
Deuteranopia (green-blind)
#005DEA
Tritanopia (blue-blind)
#007495
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5947ed;
/* rgb */ color: rgb(89, 71, 237);
/* oklch */ color: oklch(52.6% 0.237 279.4);
Tailwind
colors: {
  custom: {
    50: '#987cf4',
    500: '#5947ed',
    950: '#000000',
  },
}
SCSS
$custom: #5947ed;
$custom-light: #987cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5947ed",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 237
  },
  "hsl": {
    "h": 246.506,
    "s": 82.178,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.23652,
    "h": 279.4
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#5947ED
secondary
#E1E8A8
accent
#DF07C7
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5947ED

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

Preview Lab → · Contrast checker → · Palette generator →

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