#5737BB#5737BB

#5737BB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.195 H 287.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5737BB
RGBrgb(87, 55, 187)
HSLhsl(255, 55%, 47%)
HSVhsv(255, 71%, 73%)
CMYKcmyk(53.5%, 70.6%, 0%, 26.7%)
CIE-LABlab(34.69, 47.20, -64.67)
CIE-LCHlch(34.69, 80.06, 306.13°)
OKLaboklab(45.77% 0.0573 -0.1859)
OKLCHoklch(45.77% 0.195 287.1)
XYZxyz(14.2636, 8.3457, 47.8634)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737BB #9BBB37
analogous
#3759BB #5737BB #9937BB
triadic
#5737BB #BB5737 #37BB57
tetradic
#5737BB #BB3759 #9BBB37 #37BB99
square
#5737BB #BB3759 #9BBB37 #37BB99
split-complementary
#5737BB #BB9937 #59BB37
monochromatic
#2B1B5C #41298C #5737BB #7B5FD0 #A28EDE

Accessibility & contrast

On white

7.87
#5737BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5737BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737BB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737BB#FFFFFF#000000##FFFFFF
##5737BB1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#2F5A75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5737bb;
/* rgb */ color: rgb(87, 55, 187);
/* oklch */ color: oklch(45.8% 0.195 287.1);
Tailwind
colors: {
  custom: {
    50: '#9071d1',
    500: '#5737bb',
    950: '#000000',
  },
}
SCSS
$custom: #5737bb;
$custom-light: #9071d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5737bb",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 254.545,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.1945,
    "h": 287.1
  },
  "luminance": 0.08346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5737BB

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

Preview Lab → · Contrast checker → · Palette generator →

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