#5834CF#5834CF

#5834CF is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.221 H 284.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5834CF
RGBrgb(88, 52, 207)
HSLhsl(254, 62%, 51%)
HSVhsv(254, 75%, 81%)
CMYKcmyk(57.5%, 74.9%, 0%, 18.8%)
CIE-LABlab(36.05, 54.63, -74.13)
CIE-LCHlch(36.05, 92.08, 306.39°)
OKLaboklab(47.3% 0.0566 -0.2135)
OKLCHoklch(47.3% 0.221 284.8)
XYZxyz(16.5115, 9.0347, 59.8932)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834CF #ABCF34
analogous
#345ECF #5834CF #A534CF
triadic
#5834CF #CF5834 #34CF58
tetradic
#5834CF #CF345E #ABCF34 #34CFA5
square
#5834CF #CF345E #ABCF34 #34CFA5
split-complementary
#5834CF #CFA534 #5ECF34
monochromatic
#2E1A6E #4226A0 #5834CF #8165DB #A997E6

Accessibility & contrast

On white

7.48
#5834CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5834CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834CF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834CF#FFFFFF#000000##FFFFFF
##5834CF1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#0050CC
Tritanopia (blue-blind)
#17607F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5834cf;
/* rgb */ color: rgb(88, 52, 207);
/* oklch */ color: oklch(47.3% 0.221 284.8);
Tailwind
colors: {
  custom: {
    50: '#9470df',
    500: '#5834cf',
    950: '#000000',
  },
}
SCSS
$custom: #5834cf;
$custom-light: #9470df;
$custom-dark: #000000;
JSON
{
  "hex": "#5834cf",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 253.935,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47302,
    "c": 0.2209,
    "h": 284.8
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#5834CF
secondary
#C2D28D
accent
#E543BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5834CF

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

Preview Lab → · Contrast checker → · Palette generator →

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