#5737DA#5737DA

#5737DA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.231 H 282.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5737DA
RGBrgb(87, 55, 218)
HSLhsl(252, 69%, 54%)
HSVhsv(252, 75%, 85%)
CMYKcmyk(60.1%, 74.8%, 0%, 14.5%)
CIE-LABlab(37.52, 56.18, -78.07)
CIE-LCHlch(37.52, 96.18, 305.74°)
OKLaboklab(48.62% 0.0504 -0.2251)
OKLCHoklch(48.62% 0.231 282.6)
XYZxyz(17.9476, 9.8193, 67.2656)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737DA #BADA37
analogous
#3768DA #5737DA #A837DA
triadic
#5737DA #DA5737 #37DA57
tetradic
#5737DA #DA3768 #BADA37 #37DAA8
square
#5737DA #DA3768 #BADA37 #37DAA8
split-complementary
#5737DA #DAA837 #68DA37
monochromatic
#2C187F #3E21B3 #5737DA #826BE4 #AE9EED

Accessibility & contrast

On white

7.08
#5737DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5737DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737DA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737DA#FFFFFF#000000##FFFFFF
##5737DA1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDF
Deuteranopia (green-blind)
#0053D7
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5737da;
/* rgb */ color: rgb(87, 55, 218);
/* oklch */ color: oklch(48.6% 0.231 282.6);
Tailwind
colors: {
  custom: {
    50: '#9572e7',
    500: '#5737da',
    950: '#000000',
  },
}
SCSS
$custom: #5737da;
$custom-light: #9572e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5737da",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 251.779,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48624,
    "c": 0.23067,
    "h": 282.6
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#5737DA
secondary
#CCD993
accent
#EC3CC9
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5737DA

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

Preview Lab → · Contrast checker → · Palette generator →

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