#5743BB#5743BB

#5743BB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.5% C 0.180 H 284.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5743BB
RGBrgb(87, 67, 187)
HSLhsl(250, 47%, 50%)
HSVhsv(250, 64%, 73%)
CMYKcmyk(53.5%, 64.2%, 0%, 26.7%)
CIE-LABlab(37.17, 40.47, -60.63)
CIE-LCHlch(37.17, 72.89, 303.72°)
OKLaboklab(47.55% 0.0462 -0.174)
OKLCHoklch(47.55% 0.18 284.9)
XYZxyz(14.9046, 9.6276, 48.0770)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743BB #A7BB43
analogous
#436BBB #5743BB #9343BB
triadic
#5743BB #BB5743 #43BB57
tetradic
#5743BB #BB436B #A7BB43 #43BB93
square
#5743BB #BB436B #A7BB43 #43BB93
split-complementary
#5743BB #BB9343 #6BBB43
monochromatic
#2D2361 #42338E #5743BB #7F70CC #A79DDC

Accessibility & contrast

On white

7.18
#5743BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5743BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5743BB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743BB#FFFFFF#000000##FFFFFF
##5743BB1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#2D6079
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5743bb;
/* rgb */ color: rgb(87, 67, 187);
/* oklch */ color: oklch(47.5% 0.180 284.9);
Tailwind
colors: {
  custom: {
    50: '#8f78d0',
    500: '#5743bb',
    950: '#000000',
  },
}
SCSS
$custom: #5743bb;
$custom-light: #8f78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5743bb",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 250,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47547,
    "c": 0.18006,
    "h": 284.9
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#5743BB
secondary
#BFC892
accent
#D751C1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5743BB

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

Preview Lab → · Contrast checker → · Palette generator →

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