#5834C7#5834C7

#5834C7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.6% C 0.212 H 286.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5834C7
RGBrgb(88, 52, 199)
HSLhsl(255, 59%, 49%)
HSVhsv(255, 74%, 78%)
CMYKcmyk(55.8%, 73.9%, 0%, 22%)
CIE-LABlab(35.31, 52.36, -70.70)
CIE-LCHlch(35.31, 87.97, 306.52°)
OKLaboklab(46.55% 0.0586 -0.2035)
OKLCHoklch(46.55% 0.212 286.1)
XYZxyz(15.5582, 8.6533, 54.8722)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834C7 #A3C734
analogous
#345AC7 #5834C7 #A234C7
triadic
#5834C7 #C75834 #34C758
tetradic
#5834C7 #C7345A #A3C734 #34C7A2
square
#5834C7 #C7345A #A3C734 #34C7A2
split-complementary
#5834C7 #C7A234 #5AC734
monochromatic
#2D1B66 #432796 #5834C7 #7F62D6 #A693E3

Accessibility & contrast

On white

7.69
#5834C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5834C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834C7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834C7#FFFFFF#000000##FFFFFF
##5834C71.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#245D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5834c7;
/* rgb */ color: rgb(88, 52, 199);
/* oklch */ color: oklch(46.6% 0.212 286.1);
Tailwind
colors: {
  custom: {
    50: '#936fd9',
    500: '#5834c7',
    950: '#000000',
  },
}
SCSS
$custom: #5834c7;
$custom-light: #936fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5834c7",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 254.694,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46554,
    "c": 0.21174,
    "h": 286.1
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#5834C7
secondary
#BDCE89
accent
#E246BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5834C7

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

Preview Lab → · Contrast checker → · Palette generator →

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