#5736BE#5736BE

#5736BE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.199 H 286.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5736BE
RGBrgb(87, 54, 190)
HSLhsl(255, 56%, 48%)
HSVhsv(255, 72%, 75%)
CMYKcmyk(54.2%, 71.6%, 0%, 25.5%)
CIE-LABlab(34.77, 48.60, -66.32)
CIE-LCHlch(34.77, 82.22, 306.24°)
OKLaboklab(45.9% 0.0576 -0.1907)
OKLCHoklch(45.9% 0.199 286.8)
XYZxyz(14.5411, 8.3815, 49.5568)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736BE #9DBE36
analogous
#3659BE #5736BE #9B36BE
triadic
#5736BE #BE5736 #36BE57
tetradic
#5736BE #BE3659 #9DBE36 #36BE9B
square
#5736BE #BE3659 #9DBE36 #36BE9B
split-complementary
#5736BE #BE9B36 #59BE36
monochromatic
#2B1B5F #41288E #5736BE #7B60D2 #A38FDF

Accessibility & contrast

On white

7.85
#5736BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5736BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736BE
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736BE#FFFFFF#000000##FFFFFF
##5736BE1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#2C5A76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5736be;
/* rgb */ color: rgb(87, 54, 190);
/* oklch */ color: oklch(45.9% 0.199 286.8);
Tailwind
colors: {
  custom: {
    50: '#9170d3',
    500: '#5736be',
    950: '#000000',
  },
}
SCSS
$custom: #5736be;
$custom-light: #9170d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5736be",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 254.559,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.19919,
    "h": 286.8
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#5736BE
secondary
#B9CA86
accent
#DF49BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5736BE

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

Preview Lab → · Contrast checker → · Palette generator →

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