#5737BA#5737BA

#5737BA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.193 H 287.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5737BA
RGBrgb(87, 55, 186)
HSLhsl(255, 54%, 47%)
HSVhsv(255, 70%, 73%)
CMYKcmyk(53.2%, 70.4%, 0%, 27.1%)
CIE-LABlab(34.61, 46.91, -64.22)
CIE-LCHlch(34.61, 79.53, 306.15°)
OKLaboklab(45.68% 0.0575 -0.1846)
OKLCHoklch(45.68% 0.193 287.3)
XYZxyz(14.1570, 8.3031, 47.3015)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737BA #9ABA37
analogous
#3759BA #5737BA #9837BA
triadic
#5737BA #BA5737 #37BA57
tetradic
#5737BA #BA3759 #9ABA37 #37BA98
square
#5737BA #BA3759 #9ABA37 #37BA98
split-complementary
#5737BA #BA9837 #59BA37
monochromatic
#2B1B5C #41298B #5737BA #7A5FD0 #A18EDE

Accessibility & contrast

On white

7.89
#5737BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5737BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737BA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737BA#FFFFFF#000000##FFFFFF
##5737BA1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#2F5974
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5737ba;
/* rgb */ color: rgb(87, 55, 186);
/* oklch */ color: oklch(45.7% 0.193 287.3);
Tailwind
colors: {
  custom: {
    50: '#9071d0',
    500: '#5737ba',
    950: '#000000',
  },
}
SCSS
$custom: #5737ba;
$custom-light: #9071d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5737ba",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 254.656,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45679,
    "c": 0.19331,
    "h": 287.3
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#5737BA
secondary
#B8C885
accent
#DE4ABA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5737BA

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

Preview Lab → · Contrast checker → · Palette generator →

#5737BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva