#5732C5#5732C5

#5732C5 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.212 H 286.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5732C5
RGBrgb(87, 50, 197)
HSLhsl(255, 60%, 48%)
HSVhsv(255, 75%, 77%)
CMYKcmyk(55.8%, 74.6%, 0%, 22.7%)
CIE-LABlab(34.68, 52.64, -70.57)
CIE-LCHlch(34.68, 88.04, 306.72°)
OKLaboklab(46.03% 0.0591 -0.2031)
OKLCHoklch(46.03% 0.212 286.2)
XYZxyz(15.1461, 8.3378, 53.6238)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5732C5 #A0C532
analogous
#3256C5 #5732C5 #A032C5
triadic
#5732C5 #C55732 #32C557
tetradic
#5732C5 #C53256 #A0C532 #32C5A0
square
#5732C5 #C53256 #A0C532 #32C5A0
split-complementary
#5732C5 #C5A032 #56C532
monochromatic
#2C1963 #412694 #5732C5 #7C5ED6 #A48FE3

Accessibility & contrast

On white

7.87
#5732C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5732C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5732C5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5732C5#FFFFFF#000000##FFFFFF
##5732C51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#004DC2
Tritanopia (blue-blind)
#245B79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5732c5;
/* rgb */ color: rgb(87, 50, 197);
/* oklch */ color: oklch(46.0% 0.212 286.2);
Tailwind
colors: {
  custom: {
    50: '#926ed8',
    500: '#5732c5',
    950: '#000000',
  },
}
SCSS
$custom: #5732c5;
$custom-light: #926ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#5732c5",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 255.102,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4603,
    "c": 0.21155,
    "h": 286.2
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#5732C5
secondary
#BBCD86
accent
#E345BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5732C5

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

Preview Lab → · Contrast checker → · Palette generator →

#5732C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva