#5737C3#5737C3

#5737C3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.204 H 285.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5737C3
RGBrgb(87, 55, 195)
HSLhsl(254, 56%, 49%)
HSVhsv(254, 72%, 76%)
CMYKcmyk(55.4%, 71.8%, 0%, 23.5%)
CIE-LABlab(35.40, 49.53, -68.22)
CIE-LCHlch(35.40, 84.30, 305.98°)
OKLaboklab(46.48% 0.0557 -0.1963)
OKLCHoklch(46.48% 0.204 285.8)
XYZxyz(15.1440, 8.6979, 52.5001)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737C3 #A3C337
analogous
#375DC3 #5737C3 #9D37C3
triadic
#5737C3 #C35737 #37C357
tetradic
#5737C3 #C3375D #A3C337 #37C39D
square
#5737C3 #C3375D #A3C337 #37C39D
split-complementary
#5737C3 #C39D37 #5DC337
monochromatic
#2C1C64 #422A93 #5737C3 #7D64D3 #A594E1

Accessibility & contrast

On white

7.66
#5737C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5737C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737C3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737C3#FFFFFF#000000##FFFFFF
##5737C31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#265D79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5737c3;
/* rgb */ color: rgb(87, 55, 195);
/* oklch */ color: oklch(46.5% 0.204 285.8);
Tailwind
colors: {
  custom: {
    50: '#9171d6',
    500: '#5737c3',
    950: '#000000',
  },
}
SCSS
$custom: #5737c3;
$custom-light: #9171d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5737c3",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 253.714,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46483,
    "c": 0.20402,
    "h": 285.8
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#5737C3
secondary
#BDCC8A
accent
#DF49BD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5737C3

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

Preview Lab → · Contrast checker → · Palette generator →

#5737C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva