#5736BB#5736BB

#5736BB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.196 H 287.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5736BB
RGBrgb(87, 54, 187)
HSLhsl(255, 55%, 47%)
HSVhsv(255, 71%, 73%)
CMYKcmyk(53.5%, 71.1%, 0%, 26.7%)
CIE-LABlab(34.50, 47.73, -64.98)
CIE-LCHlch(34.50, 80.63, 306.30°)
OKLaboklab(45.63% 0.0582 -0.1868)
OKLCHoklch(45.63% 0.196 287.3)
XYZxyz(14.2166, 8.2517, 47.8477)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5736BB #9ABB36
analogous
#3658BB #5736BB #9A36BB
triadic
#5736BB #BB5736 #36BB57
tetradic
#5736BB #BB3658 #9ABB36 #36BB9A
square
#5736BB #BB3658 #9ABB36 #36BB9A
split-complementary
#5736BB #BB9A36 #58BB36
monochromatic
#2B1B5C #41288C #5736BB #7A5ED0 #A18DDE

Accessibility & contrast

On white

7.92
#5736BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5736BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5736BB
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5736BB#FFFFFF#000000##FFFFFF
##5736BB1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#2F5975
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5736bb;
/* rgb */ color: rgb(87, 54, 187);
/* oklch */ color: oklch(45.6% 0.196 287.3);
Tailwind
colors: {
  custom: {
    50: '#9070d1',
    500: '#5736bb',
    950: '#000000',
  },
}
SCSS
$custom: #5736bb;
$custom-light: #9070d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5736bb",
  "rgb": {
    "r": 87,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 254.887,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45631,
    "c": 0.19564,
    "h": 287.3
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#5736BB
secondary
#B8C984
accent
#DF49B9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5736BB

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

Preview Lab → · Contrast checker → · Palette generator →

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