#5834C2#5834C2

#5834C2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.206 H 286.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5834C2
RGBrgb(88, 52, 194)
HSLhsl(255, 58%, 48%)
HSVhsv(255, 73%, 76%)
CMYKcmyk(54.6%, 73.2%, 0%, 23.9%)
CIE-LABlab(34.85, 50.93, -68.52)
CIE-LCHlch(34.85, 85.37, 306.62°)
OKLaboklab(46.09% 0.0597 -0.1971)
OKLCHoklch(46.09% 0.206 286.9)
XYZxyz(14.9872, 8.4249, 51.8649)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834C2 #9EC234
analogous
#3457C2 #5834C2 #9F34C2
triadic
#5834C2 #C25834 #34C258
tetradic
#5834C2 #C23457 #9EC234 #34C29F
square
#5834C2 #C23457 #9EC234 #34C29F
split-complementary
#5834C2 #C29F34 #57C234
monochromatic
#2C1A61 #422792 #5834C2 #7D5FD4 #A48FE1

Accessibility & contrast

On white

7.82
#5834C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5834C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834C2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834C2#FFFFFF#000000##FFFFFF
##5834C21.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5834c2;
/* rgb */ color: rgb(88, 52, 194);
/* oklch */ color: oklch(46.1% 0.206 286.9);
Tailwind
colors: {
  custom: {
    50: '#926fd6',
    500: '#5834c2',
    950: '#000000',
  },
}
SCSS
$custom: #5834c2;
$custom-light: #926fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5834c2",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 255.211,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46094,
    "c": 0.20596,
    "h": 286.9
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#5834C2
secondary
#BACC86
accent
#E147BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5834C2

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

Preview Lab → · Contrast checker → · Palette generator →

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