#5832C5#5832C5

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

Color values

HEX#5832C5
RGBrgb(88, 50, 197)
HSLhsl(256, 60%, 48%)
HSVhsv(256, 75%, 77%)
CMYKcmyk(55.3%, 74.6%, 0%, 22.7%)
CIE-LABlab(34.77, 52.78, -70.40)
CIE-LCHlch(34.77, 87.99, 306.86°)
OKLaboklab(46.12% 0.0606 -0.2026)
OKLCHoklch(46.12% 0.211 286.6)
XYZxyz(15.2401, 8.3863, 53.6282)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832C5 #9FC532
analogous
#3255C5 #5832C5 #A132C5
triadic
#5832C5 #C55832 #32C558
tetradic
#5832C5 #C53255 #9FC532 #32C5A1
square
#5832C5 #C53255 #9FC532 #32C5A1
split-complementary
#5832C5 #C5A132 #55C532
monochromatic
#2C1963 #422694 #5832C5 #7D5ED6 #A48FE3

Accessibility & contrast

On white

7.84
#5832C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5832C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832C5
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832C5#FFFFFF#000000##FFFFFF
##5832C51.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5832c5;
/* rgb */ color: rgb(88, 50, 197);
/* oklch */ color: oklch(46.1% 0.211 286.6);
Tailwind
colors: {
  custom: {
    50: '#936ed8',
    500: '#5832c5',
    950: '#000000',
  },
}
SCSS
$custom: #5832c5;
$custom-light: #936ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#5832c5",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 255.51,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46123,
    "c": 0.21146,
    "h": 286.6
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5832C5

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

Preview Lab → · Contrast checker → · Palette generator →

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