#5737BC#5737BC

#5737BC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.196 H 287.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5737BC
RGBrgb(87, 55, 188)
HSLhsl(254, 55%, 48%)
HSVhsv(254, 71%, 74%)
CMYKcmyk(53.7%, 70.7%, 0%, 26.3%)
CIE-LABlab(34.78, 47.49, -65.12)
CIE-LCHlch(34.78, 80.60, 306.11°)
OKLaboklab(45.86% 0.0571 -0.1872)
OKLCHoklch(45.86% 0.196 287)
XYZxyz(14.3711, 8.3887, 48.4291)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737BC #9CBC37
analogous
#3759BC #5737BC #9937BC
triadic
#5737BC #BC5737 #37BC57
tetradic
#5737BC #BC3759 #9CBC37 #37BC99
square
#5737BC #BC3759 #9CBC37 #37BC99
split-complementary
#5737BC #BC9937 #59BC37
monochromatic
#2B1B5D #41298D #5737BC #7B60D0 #A28FDE

Accessibility & contrast

On white

7.84
#5737BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5737BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737BC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737BC#FFFFFF#000000##FFFFFF
##5737BC1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#2E5A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5737bc;
/* rgb */ color: rgb(87, 55, 188);
/* oklch */ color: oklch(45.9% 0.196 287.0);
Tailwind
colors: {
  custom: {
    50: '#9071d1',
    500: '#5737bc',
    950: '#000000',
  },
}
SCSS
$custom: #5737bc;
$custom-light: #9071d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5737bc",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 254.436,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.1957,
    "h": 287
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#5737BC
secondary
#B9C986
accent
#DE4ABA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5737BC

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

Preview Lab → · Contrast checker → · Palette generator →

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