#5832C2#5832C2

#5832C2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.208 H 287.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5832C2
RGBrgb(88, 50, 194)
HSLhsl(256, 59%, 48%)
HSVhsv(256, 74%, 76%)
CMYKcmyk(54.6%, 74.2%, 0%, 23.9%)
CIE-LABlab(34.50, 51.93, -69.10)
CIE-LCHlch(34.50, 86.44, 306.93°)
OKLaboklab(45.84% 0.0613 -0.1988)
OKLCHoklch(45.84% 0.208 287.1)
XYZxyz(14.8998, 8.2502, 51.8358)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832C2 #9CC232
analogous
#3254C2 #5832C2 #A032C2
triadic
#5832C2 #C25832 #32C258
tetradic
#5832C2 #C23254 #9CC232 #32C2A0
square
#5832C2 #C23254 #9CC232 #32C2A0
split-complementary
#5832C2 #C2A032 #54C232
monochromatic
#2C1961 #422591 #5832C2 #7C5CD5 #A38DE2

Accessibility & contrast

On white

7.92
#5832C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5832C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832C2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832C2#FFFFFF#000000##FFFFFF
##5832C21.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#2A5A78
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5832c2;
/* rgb */ color: rgb(88, 50, 194);
/* oklch */ color: oklch(45.8% 0.208 287.1);
Tailwind
colors: {
  custom: {
    50: '#926ed6',
    500: '#5832c2',
    950: '#000000',
  },
}
SCSS
$custom: #5832c2;
$custom-light: #926ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5832c2",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 255.833,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45844,
    "c": 0.20803,
    "h": 287.1
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#5832C2
secondary
#B9CC84
accent
#E246B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5832C2

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

Preview Lab → · Contrast checker → · Palette generator →

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