#5834C5#5834C5

#5834C5 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.209 H 286.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5834C5
RGBrgb(88, 52, 197)
HSLhsl(255, 58%, 49%)
HSVhsv(255, 74%, 77%)
CMYKcmyk(55.3%, 73.6%, 0%, 22.7%)
CIE-LABlab(35.13, 51.79, -69.83)
CIE-LCHlch(35.13, 86.94, 306.56°)
OKLaboklab(46.37% 0.059 -0.2009)
OKLCHoklch(46.37% 0.209 286.4)
XYZxyz(15.3275, 8.5611, 53.6573)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834C5 #A1C534
analogous
#3458C5 #5834C5 #A134C5
triadic
#5834C5 #C55834 #34C558
tetradic
#5834C5 #C53458 #A1C534 #34C5A1
square
#5834C5 #C53458 #A1C534 #34C5A1
split-complementary
#5834C5 #C5A134 #58C534
monochromatic
#2D1A64 #422795 #5834C5 #7E61D5 #A591E2

Accessibility & contrast

On white

7.74
#5834C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5834C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834C5
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834C5#FFFFFF#000000##FFFFFF
##5834C51.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#275C7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5834c5;
/* rgb */ color: rgb(88, 52, 197);
/* oklch */ color: oklch(46.4% 0.209 286.4);
Tailwind
colors: {
  custom: {
    50: '#936fd8',
    500: '#5834c5',
    950: '#000000',
  },
}
SCSS
$custom: #5834c5;
$custom-light: #936fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5834c5",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 254.897,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4637,
    "c": 0.20943,
    "h": 286.4
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#5834C5
secondary
#BCCD88
accent
#E146BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5834C5

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

Preview Lab → · Contrast checker → · Palette generator →

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