#5737C9#5737C9

#5737C9 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.0% C 0.211 H 284.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5737C9
RGBrgb(87, 55, 201)
HSLhsl(253, 57%, 50%)
HSVhsv(253, 73%, 79%)
CMYKcmyk(56.7%, 72.6%, 0%, 21.2%)
CIE-LABlab(35.94, 51.27, -70.83)
CIE-LCHlch(35.94, 87.44, 305.90°)
OKLaboklab(47.03% 0.0544 -0.2039)
OKLCHoklch(47.03% 0.211 284.9)
XYZxyz(15.8361, 8.9747, 56.1448)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737C9 #A9C937
analogous
#3760C9 #5737C9 #A037C9
triadic
#5737C9 #C95737 #37C957
tetradic
#5737C9 #C93760 #A9C937 #37C9A0
square
#5737C9 #C93760 #A9C937 #37C9A0
split-complementary
#5737C9 #C9A037 #60C937
monochromatic
#2D1C69 #422999 #5737C9 #7F67D6 #A897E3

Accessibility & contrast

On white

7.51
#5737C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5737C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737C9
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737C9#FFFFFF#000000##FFFFFF
##5737C91.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#1D5F7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5737c9;
/* rgb */ color: rgb(87, 55, 201);
/* oklch */ color: oklch(47.0% 0.211 284.9);
Tailwind
colors: {
  custom: {
    50: '#9271db',
    500: '#5737c9',
    950: '#000000',
  },
}
SCSS
$custom: #5737c9;
$custom-light: #9271db;
$custom-dark: #000000;
JSON
{
  "hex": "#5737c9",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 253.151,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4703,
    "c": 0.21107,
    "h": 284.9
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#5737C9
secondary
#C0CF8D
accent
#E147BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5737C9

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

Preview Lab → · Contrast checker → · Palette generator →

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