#5833BA#5833BA

#5833BA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.198 H 288.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5833BA
RGBrgb(88, 51, 186)
HSLhsl(256, 57%, 46%)
HSVhsv(256, 73%, 73%)
CMYKcmyk(52.7%, 72.6%, 0%, 27.1%)
CIE-LABlab(33.96, 49.16, -65.28)
CIE-LCHlch(33.96, 81.72, 306.98°)
OKLaboklab(45.24% 0.0624 -0.1876)
OKLCHoklch(45.24% 0.198 288.4)
XYZxyz(14.0687, 7.9869, 47.2452)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5833BA #95BA33
analogous
#3352BA #5833BA #9C33BA
triadic
#5833BA #BA5833 #33BA58
tetradic
#5833BA #BA3352 #95BA33 #33BA9C
square
#5833BA #BA3352 #95BA33 #33BA9C
split-complementary
#5833BA #BA9C33 #52BA33
monochromatic
#2B195A #41268A #5833BA #7A59D1 #A089DF

Accessibility & contrast

On white

8.08
#5833BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5833BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5833BA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5833BA#FFFFFF#000000##FFFFFF
##5833BA1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#325773
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5833ba;
/* rgb */ color: rgb(88, 51, 186);
/* oklch */ color: oklch(45.2% 0.198 288.4);
Tailwind
colors: {
  custom: {
    50: '#916ed0',
    500: '#5833ba',
    950: '#000000',
  },
}
SCSS
$custom: #5833ba;
$custom-light: #916ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#5833ba",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 256.444,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45241,
    "c": 0.19772,
    "h": 288.4
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#5833BA
secondary
#B5C980
accent
#E048B6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5833BA

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

Preview Lab → · Contrast checker → · Palette generator →

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