#5832C6#5832C6

#5832C6 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.213 H 286.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5832C6
RGBrgb(88, 50, 198)
HSLhsl(255, 60%, 49%)
HSVhsv(255, 75%, 78%)
CMYKcmyk(55.6%, 74.7%, 0%, 22.4%)
CIE-LABlab(34.87, 53.06, -70.84)
CIE-LCHlch(34.87, 88.50, 306.84°)
OKLaboklab(46.22% 0.0603 -0.2039)
OKLCHoklch(46.22% 0.213 286.5)
XYZxyz(15.3551, 8.4323, 54.2336)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832C6 #A0C632
analogous
#3256C6 #5832C6 #A232C6
triadic
#5832C6 #C65832 #32C658
tetradic
#5832C6 #C63256 #A0C632 #32C6A2
square
#5832C6 #C63256 #A0C632 #32C6A2
split-complementary
#5832C6 #C6A232 #56C632
monochromatic
#2D1964 #422695 #5832C6 #7D5FD7 #A590E3

Accessibility & contrast

On white

7.82
#5832C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5832C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832C6
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832C6#FFFFFF#000000##FFFFFF
##5832C61.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004EC3
Tritanopia (blue-blind)
#265B7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5832c6;
/* rgb */ color: rgb(88, 50, 198);
/* oklch */ color: oklch(46.2% 0.213 286.5);
Tailwind
colors: {
  custom: {
    50: '#936ed9',
    500: '#5832c6',
    950: '#000000',
  },
}
SCSS
$custom: #5832c6;
$custom-light: #936ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#5832c6",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 198
  },
  "hsl": {
    "h": 255.405,
    "s": 59.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46216,
    "c": 0.21261,
    "h": 286.5
  },
  "luminance": 0.08433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5832C6

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

Preview Lab → · Contrast checker → · Palette generator →

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