#5834D0#5834D0

#5834D0 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.222 H 284.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5834D0
RGBrgb(88, 52, 208)
HSLhsl(254, 62%, 51%)
HSVhsv(254, 75%, 82%)
CMYKcmyk(57.7%, 75%, 0%, 18.4%)
CIE-LABlab(36.14, 54.91, -74.55)
CIE-LCHlch(36.14, 92.59, 306.38°)
OKLaboklab(47.4% 0.0563 -0.2148)
OKLCHoklch(47.4% 0.222 284.7)
XYZxyz(16.6342, 9.0837, 60.5391)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834D0 #ACD034
analogous
#345ED0 #5834D0 #A634D0
triadic
#5834D0 #D05834 #34D058
tetradic
#5834D0 #D0345E #ACD034 #34D0A6
square
#5834D0 #D0345E #ACD034 #34D0A6
split-complementary
#5834D0 #D0A634 #5ED034
monochromatic
#2E1A70 #4225A1 #5834D0 #8166DC #AA97E7

Accessibility & contrast

On white

7.45
#5834D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5834D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834D0
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834D0#FFFFFF#000000##FFFFFF
##5834D01.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D4
Deuteranopia (green-blind)
#0050CD
Tritanopia (blue-blind)
#146080
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5834d0;
/* rgb */ color: rgb(88, 52, 208);
/* oklch */ color: oklch(47.4% 0.222 284.7);
Tailwind
colors: {
  custom: {
    50: '#9470e0',
    500: '#5834d0',
    950: '#000000',
  },
}
SCSS
$custom: #5834d0;
$custom-light: #9470e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5834d0",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 208
  },
  "hsl": {
    "h": 253.846,
    "s": 62.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47397,
    "c": 0.22204,
    "h": 284.7
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#5834D0
secondary
#C3D28D
accent
#E542C0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5834D0

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

Preview Lab → · Contrast checker → · Palette generator →

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