#5832BA#5832BA

#5832BA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.199 H 288.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#5832BA
RGBrgb(88, 50, 186)
HSLhsl(257, 58%, 46%)
HSVhsv(257, 73%, 73%)
CMYKcmyk(52.7%, 73.1%, 0%, 27.1%)
CIE-LABlab(33.77, 49.67, -65.58)
CIE-LCHlch(33.77, 82.27, 307.14°)
OKLaboklab(45.11% 0.0632 -0.1885)
OKLCHoklch(45.11% 0.199 288.5)
XYZxyz(14.0254, 7.9004, 47.2308)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5832BA #94BA32
analogous
#3250BA #5832BA #9C32BA
triadic
#5832BA #BA5832 #32BA58
tetradic
#5832BA #BA3250 #94BA32 #32BA9C
square
#5832BA #BA3250 #94BA32 #32BA9C
split-complementary
#5832BA #BA9C32 #50BA32
monochromatic
#2A185A #41258A #5832BA #7A57D2 #A088DF

Accessibility & contrast

On white

8.14
#5832BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5832BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5832BA
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5832BA#FFFFFF#000000##FFFFFF
##5832BA1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#325773
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5832ba;
/* rgb */ color: rgb(88, 50, 186);
/* oklch */ color: oklch(45.1% 0.199 288.5);
Tailwind
colors: {
  custom: {
    50: '#916ed0',
    500: '#5832ba',
    950: '#000000',
  },
}
SCSS
$custom: #5832ba;
$custom-light: #916ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5832ba",
  "rgb": {
    "r": 88,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 256.765,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45113,
    "c": 0.1988,
    "h": 288.5
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#5832BA
secondary
#B4C97F
accent
#E147B6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5832BA

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

Preview Lab → · Contrast checker → · Palette generator →

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