#5932C5#5932C5

#5932C5 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.211 H 287.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5932C5
RGBrgb(89, 50, 197)
HSLhsl(256, 60%, 48%)
HSVhsv(256, 75%, 77%)
CMYKcmyk(54.8%, 74.6%, 0%, 22.7%)
CIE-LABlab(34.87, 52.92, -70.24)
CIE-LCHlch(34.87, 87.94, 307.00°)
OKLaboklab(46.22% 0.062 -0.2021)
OKLCHoklch(46.22% 0.211 287.1)
XYZxyz(15.3355, 8.4354, 53.6326)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5932C5 #9EC532
analogous
#3255C5 #5932C5 #A232C5
triadic
#5932C5 #C55932 #32C559
tetradic
#5932C5 #C53255 #9EC532 #32C5A2
square
#5932C5 #C53255 #9EC532 #32C5A2
split-complementary
#5932C5 #C5A232 #55C532
monochromatic
#2D1963 #432694 #5932C5 #7E5ED6 #A58FE3

Accessibility & contrast

On white

7.81
#5932C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5932C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5932C5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5932C5#FFFFFF#000000##FFFFFF
##5932C51.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#2A5B79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5932c5;
/* rgb */ color: rgb(89, 50, 197);
/* oklch */ color: oklch(46.2% 0.211 287.1);
Tailwind
colors: {
  custom: {
    50: '#936ed8',
    500: '#5932c5',
    950: '#000000',
  },
}
SCSS
$custom: #5932c5;
$custom-light: #936ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#5932c5",
  "rgb": {
    "r": 89,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 255.918,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46216,
    "c": 0.21139,
    "h": 287.1
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#5932C5
secondary
#BACD86
accent
#E345B9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5932C5

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

Preview Lab → · Contrast checker → · Palette generator →

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