#5834C4#5834C4

#5834C4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.3% C 0.208 H 286.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5834C4
RGBrgb(88, 52, 196)
HSLhsl(255, 58%, 49%)
HSVhsv(255, 73%, 77%)
CMYKcmyk(55.1%, 73.5%, 0%, 23.1%)
CIE-LABlab(35.03, 51.50, -69.39)
CIE-LCHlch(35.03, 86.42, 306.58°)
OKLaboklab(46.28% 0.0593 -0.1997)
OKLCHoklch(46.28% 0.208 286.5)
XYZxyz(15.2133, 8.5154, 53.0558)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834C4 #A0C434
analogous
#3458C4 #5834C4 #A034C4
triadic
#5834C4 #C45834 #34C458
tetradic
#5834C4 #C43458 #A0C434 #34C4A0
square
#5834C4 #C43458 #A0C434 #34C4A0
split-complementary
#5834C4 #C4A034 #58C434
monochromatic
#2D1A63 #422794 #5834C4 #7D60D5 #A591E2

Accessibility & contrast

On white

7.77
#5834C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5834C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834C4
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834C4#FFFFFF#000000##FFFFFF
##5834C41.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004EC1
Tritanopia (blue-blind)
#285B79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5834c4;
/* rgb */ color: rgb(88, 52, 196);
/* oklch */ color: oklch(46.3% 0.208 286.5);
Tailwind
colors: {
  custom: {
    50: '#926fd7',
    500: '#5834c4',
    950: '#000000',
  },
}
SCSS
$custom: #5834c4;
$custom-light: #926fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5834c4",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 255,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.20828,
    "h": 286.5
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#5834C4
secondary
#BBCC87
accent
#E147BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5834C4

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

Preview Lab → · Contrast checker → · Palette generator →

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