#5739C8#5739C8

#5739C8 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.2% C 0.208 H 284.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5739C8
RGBrgb(87, 57, 200)
HSLhsl(253, 57%, 50%)
HSVhsv(253, 72%, 78%)
CMYKcmyk(56.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(36.22, 49.94, -69.79)
CIE-LCHlch(36.22, 85.82, 305.59°)
OKLaboklab(47.2% 0.0531 -0.2009)
OKLCHoklch(47.2% 0.208 284.8)
XYZxyz(15.8158, 9.1217, 55.5596)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739C8 #AAC839
analogous
#3963C8 #5739C8 #9E39C8
triadic
#5739C8 #C85739 #39C857
tetradic
#5739C8 #C83963 #AAC839 #39C89E
square
#5739C8 #C83963 #AAC839 #39C89E
split-complementary
#5739C8 #C89E39 #63C839
monochromatic
#2D1D69 #422B99 #5739C8 #8069D5 #A899E3

Accessibility & contrast

On white

7.43
#5739C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5739C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739C8
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739C8#FFFFFF#000000##FFFFFF
##5739C81.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#1E607D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5739c8;
/* rgb */ color: rgb(87, 57, 200);
/* oklch */ color: oklch(47.2% 0.208 284.8);
Tailwind
colors: {
  custom: {
    50: '#9272da',
    500: '#5739c8',
    950: '#000000',
  },
}
SCSS
$custom: #5739c8;
$custom-light: #9272da;
$custom-dark: #000000;
JSON
{
  "hex": "#5739c8",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 252.587,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.20778,
    "h": 284.8
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

primary
#5739C8
secondary
#C1CE8F
accent
#E048C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5739C8

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

Preview Lab → · Contrast checker → · Palette generator →

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