#5834C3#5834C3

#5834C3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.207 H 286.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5834C3
RGBrgb(88, 52, 195)
HSLhsl(255, 58%, 48%)
HSVhsv(255, 73%, 76%)
CMYKcmyk(54.9%, 73.3%, 0%, 23.5%)
CIE-LABlab(34.94, 51.22, -68.96)
CIE-LCHlch(34.94, 85.90, 306.60°)
OKLaboklab(46.19% 0.0595 -0.1984)
OKLCHoklch(46.19% 0.207 286.7)
XYZxyz(15.0999, 8.4700, 52.4584)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834C3 #9FC334
analogous
#3457C3 #5834C3 #9F34C3
triadic
#5834C3 #C35834 #34C358
tetradic
#5834C3 #C33457 #9FC334 #34C39F
square
#5834C3 #C33457 #9FC334 #34C39F
split-complementary
#5834C3 #C39F34 #57C334
monochromatic
#2C1A62 #422793 #5834C3 #7D60D5 #A490E1

Accessibility & contrast

On white

7.79
#5834C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5834C3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834C3#FFFFFF#000000##FFFFFF
##5834C31.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#295B79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5834c3;
/* rgb */ color: rgb(88, 52, 195);
/* oklch */ color: oklch(46.2% 0.207 286.7);
Tailwind
colors: {
  custom: {
    50: '#926fd6',
    500: '#5834c3',
    950: '#000000',
  },
}
SCSS
$custom: #5834c3;
$custom-light: #926fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5834c3",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 255.105,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46186,
    "c": 0.20712,
    "h": 286.7
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5834C3

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

Preview Lab → · Contrast checker → · Palette generator →

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