#5737CA#5737CA

#5737CA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.212 H 284.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#5737CA
RGBrgb(87, 55, 202)
HSLhsl(253, 58%, 50%)
HSVhsv(253, 73%, 79%)
CMYKcmyk(56.9%, 72.8%, 0%, 20.8%)
CIE-LABlab(36.03, 51.56, -71.27)
CIE-LCHlch(36.03, 87.96, 305.89°)
OKLaboklab(47.12% 0.0542 -0.2052)
OKLCHoklch(47.12% 0.212 284.8)
XYZxyz(15.9541, 9.0219, 56.7664)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737CA #AACA37
analogous
#3760CA #5737CA #A037CA
triadic
#5737CA #CA5737 #37CA57
tetradic
#5737CA #CA3760 #AACA37 #37CAA0
square
#5737CA #CA3760 #AACA37 #37CAA0
split-complementary
#5737CA #CAA037 #60CA37
monochromatic
#2D1C6A #42299B #5737CA #8067D7 #A898E4

Accessibility & contrast

On white

7.49
#5737CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5737CA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737CA#FFFFFF#000000##FFFFFF
##5737CA1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#1B5F7D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5737ca;
/* rgb */ color: rgb(87, 55, 202);
/* oklch */ color: oklch(47.1% 0.212 284.8);
Tailwind
colors: {
  custom: {
    50: '#9371db',
    500: '#5737ca',
    950: '#000000',
  },
}
SCSS
$custom: #5737ca;
$custom-light: #9371db;
$custom-dark: #000000;
JSON
{
  "hex": "#5737ca",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 253.061,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.21224,
    "h": 284.8
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#5737CA
secondary
#C1CF8E
accent
#E146C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5737CA

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

Preview Lab → · Contrast checker → · Palette generator →

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