#5832C1#5832C1

#5832C1 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.207 H 287.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5832C1
RGBrgb(88, 50, 193)
HSLhsl(256, 59%, 48%)
HSVhsv(256, 74%, 76%)
CMYKcmyk(54.4%, 74.1%, 0%, 24.3%)
CIE-LABlab(34.41, 51.65, -68.66)
CIE-LCHlch(34.41, 85.92, 306.95°)
OKLaboklab(45.75% 0.0615 -0.1975)
OKLCHoklch(45.75% 0.207 287.3)
XYZxyz(14.7879, 8.2054, 51.2463)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832C1 #9BC132
analogous
#3253C1 #5832C1 #9F32C1
triadic
#5832C1 #C15832 #32C158
tetradic
#5832C1 #C13253 #9BC132 #32C19F
square
#5832C1 #C13253 #9BC132 #32C19F
split-complementary
#5832C1 #C19F32 #53C132
monochromatic
#2C1960 #422590 #5832C1 #7C5CD5 #A38CE1

Accessibility & contrast

On white

7.95
#5832C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5832C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832C1
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832C1#FFFFFF#000000##FFFFFF
##5832C11.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#2C5977
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5832c1;
/* rgb */ color: rgb(88, 50, 193);
/* oklch */ color: oklch(45.8% 0.207 287.3);
Tailwind
colors: {
  custom: {
    50: '#926ed5',
    500: '#5832c1',
    950: '#000000',
  },
}
SCSS
$custom: #5832c1;
$custom-light: #926ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#5832c1",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 255.944,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.20688,
    "h": 287.3
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5832C1

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

Preview Lab → · Contrast checker → · Palette generator →

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