#5833C2#5833C2

#5833C2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.207 H 287.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5833C2
RGBrgb(88, 51, 194)
HSLhsl(256, 58%, 48%)
HSVhsv(256, 74%, 76%)
CMYKcmyk(54.6%, 73.7%, 0%, 23.9%)
CIE-LABlab(34.67, 51.44, -68.81)
CIE-LCHlch(34.67, 85.91, 306.78°)
OKLaboklab(45.97% 0.0605 -0.198)
OKLCHoklch(45.97% 0.207 287)
XYZxyz(14.9430, 8.3366, 51.8502)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5833C2 #9DC233
analogous
#3356C2 #5833C2 #9F33C2
triadic
#5833C2 #C25833 #33C258
tetradic
#5833C2 #C23356 #9DC233 #33C29F
square
#5833C2 #C23356 #9DC233 #33C29F
split-complementary
#5833C2 #C29F33 #56C233
monochromatic
#2C1A61 #422692 #5833C2 #7C5ED5 #A48EE1

Accessibility & contrast

On white

7.87
#5833C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5833C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5833C2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5833C2#FFFFFF#000000##FFFFFF
##5833C21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5833c2;
/* rgb */ color: rgb(88, 51, 194);
/* oklch */ color: oklch(46.0% 0.207 287.0);
Tailwind
colors: {
  custom: {
    50: '#926fd6',
    500: '#5833c2',
    950: '#000000',
  },
}
SCSS
$custom: #5833c2;
$custom-light: #926fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5833c2",
  "rgb": {
    "r": 88,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 255.524,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45968,
    "c": 0.207,
    "h": 287
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5833C2

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

Preview Lab → · Contrast checker → · Palette generator →

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