#5833CA#5833CA

#5833CA is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.216 H 285.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5833CA
RGBrgb(88, 51, 202)
HSLhsl(255, 60%, 50%)
HSVhsv(255, 75%, 79%)
CMYKcmyk(56.4%, 74.8%, 0%, 20.8%)
CIE-LABlab(35.41, 53.70, -72.27)
CIE-LCHlch(35.41, 90.04, 306.61°)
OKLaboklab(46.71% 0.0586 -0.2081)
OKLCHoklch(46.71% 0.216 285.7)
XYZxyz(15.8658, 8.7057, 56.7100)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5833CA #A5CA33
analogous
#335ACA #5833CA #A433CA
triadic
#5833CA #CA5833 #33CA58
tetradic
#5833CA #CA335A #A5CA33 #33CAA4
square
#5833CA #CA335A #A5CA33 #33CAA4
split-complementary
#5833CA #CAA433 #5ACA33
monochromatic
#2D1A68 #432799 #5833CA #7F63D8 #A794E4

Accessibility & contrast

On white

7.66
#5833CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5833CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5833CA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5833CA#FFFFFF#000000##FFFFFF
##5833CA1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#205D7C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5833ca;
/* rgb */ color: rgb(88, 51, 202);
/* oklch */ color: oklch(46.7% 0.216 285.7);
Tailwind
colors: {
  custom: {
    50: '#936fdb',
    500: '#5833ca',
    950: '#000000',
  },
}
SCSS
$custom: #5833ca;
$custom-light: #936fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5833ca",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 254.702,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46711,
    "c": 0.21618,
    "h": 285.7
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#5833CA
secondary
#BECF8A
accent
#E345BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5833CA

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

Preview Lab → · Contrast checker → · Palette generator →

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