#5732C9#5732C9

#5732C9 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.216 H 285.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5732C9
RGBrgb(87, 50, 201)
HSLhsl(255, 60%, 49%)
HSVhsv(255, 75%, 79%)
CMYKcmyk(56.7%, 75.1%, 0%, 21.2%)
CIE-LABlab(35.05, 53.77, -72.29)
CIE-LCHlch(35.05, 90.10, 306.64°)
OKLaboklab(46.41% 0.0581 -0.2082)
OKLCHoklch(46.41% 0.216 285.6)
XYZxyz(15.6105, 8.5236, 56.0697)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5732C9 #A4C932
analogous
#3259C9 #5732C9 #A332C9
triadic
#5732C9 #C95732 #32C957
tetradic
#5732C9 #C93259 #A4C932 #32C9A3
square
#5732C9 #C93259 #A4C932 #32C9A3
split-complementary
#5732C9 #C9A332 #59C932
monochromatic
#2D1A67 #422698 #5732C9 #7E61D8 #A692E4

Accessibility & contrast

On white

7.76
#5732C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5732C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5732C9
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5732C9#FFFFFF#000000##FFFFFF
##5732C91.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#1E5D7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5732c9;
/* rgb */ color: rgb(87, 50, 201);
/* oklch */ color: oklch(46.4% 0.216 285.6);
Tailwind
colors: {
  custom: {
    50: '#936edb',
    500: '#5732c9',
    950: '#000000',
  },
}
SCSS
$custom: #5732c9;
$custom-light: #936edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5732c9",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 254.702,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46406,
    "c": 0.21611,
    "h": 285.6
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#5732C9
secondary
#BDCF88
accent
#E344BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5732C9

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

Preview Lab → · Contrast checker → · Palette generator →

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