#5736BD#5736BD

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

Color values

HEX#5736BD
RGBrgb(87, 54, 189)
HSLhsl(255, 56%, 48%)
HSVhsv(255, 71%, 74%)
CMYKcmyk(54%, 71.4%, 0%, 25.9%)
CIE-LABlab(34.68, 48.31, -65.87)
CIE-LCHlch(34.68, 81.69, 306.26°)
OKLaboklab(45.81% 0.0578 -0.1894)
OKLCHoklch(45.81% 0.198 287)
XYZxyz(14.4322, 8.3379, 48.9832)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736BD #9CBD36
analogous
#3658BD #5736BD #9B36BD
triadic
#5736BD #BD5736 #36BD57
tetradic
#5736BD #BD3658 #9CBD36 #36BD9B
square
#5736BD #BD3658 #9CBD36 #36BD9B
split-complementary
#5736BD #BD9B36 #58BD36
monochromatic
#2B1B5E #41288D #5736BD #7B5FD1 #A28FDF

Accessibility & contrast

On white

7.87
#5736BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5736BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736BD
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736BD#FFFFFF#000000##FFFFFF
##5736BD1.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)
#0055C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#2D5A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5736bd;
/* rgb */ color: rgb(87, 54, 189);
/* oklch */ color: oklch(45.8% 0.198 287.0);
Tailwind
colors: {
  custom: {
    50: '#9170d2',
    500: '#5736bd',
    950: '#000000',
  },
}
SCSS
$custom: #5736bd;
$custom-light: #9170d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5736bd",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 254.667,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4581,
    "c": 0.19801,
    "h": 287
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#5736BD
secondary
#B9C985
accent
#DF49BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5736BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5736BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva