#5739B7#5739B7

#5739B7 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.187 H 287.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5739B7
RGBrgb(87, 57, 183)
HSLhsl(254, 53%, 47%)
HSVhsv(254, 69%, 72%)
CMYKcmyk(52.5%, 68.9%, 0%, 28.2%)
CIE-LABlab(34.74, 44.95, -62.22)
CIE-LCHlch(34.74, 76.76, 305.84°)
OKLaboklab(45.7% 0.0562 -0.1787)
OKLCHoklch(45.7% 0.187 287.5)
XYZxyz(13.9383, 8.3707, 45.6718)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739B7 #99B739
analogous
#395AB7 #5739B7 #9639B7
triadic
#5739B7 #B75739 #39B757
tetradic
#5739B7 #B7395A #99B739 #39B796
square
#5739B7 #B7395A #99B739 #39B796
split-complementary
#5739B7 #B79639 #5AB739
monochromatic
#2B1C5A #412A88 #5739B7 #7A60CD #A18EDC

Accessibility & contrast

On white

7.85
#5739B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5739B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739B7
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739B7#FFFFFF#000000##FFFFFF
##5739B71.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#325973
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5739b7;
/* rgb */ color: rgb(87, 57, 183);
/* oklch */ color: oklch(45.7% 0.187 287.5);
Tailwind
colors: {
  custom: {
    50: '#8f72ce',
    500: '#5739b7',
    950: '#000000',
  },
}
SCSS
$custom: #5739b7;
$custom-light: #8f72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5739b7",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 254.286,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45698,
    "c": 0.18735,
    "h": 287.5
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#5739B7
secondary
#B7C785
accent
#DC4CBA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5739B7

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

Preview Lab → · Contrast checker → · Palette generator →

#5739B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva