#5834BC#5834BC

#5834BC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.199 H 287.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5834BC
RGBrgb(88, 52, 188)
HSLhsl(256, 57%, 47%)
HSVhsv(256, 72%, 74%)
CMYKcmyk(53.2%, 72.3%, 0%, 26.3%)
CIE-LABlab(34.32, 49.22, -65.87)
CIE-LCHlch(34.32, 82.23, 306.77°)
OKLaboklab(45.55% 0.0611 -0.1894)
OKLCHoklch(45.55% 0.199 287.9)
XYZxyz(14.3269, 8.1608, 48.3875)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834BC #98BC34
analogous
#3454BC #5834BC #9C34BC
triadic
#5834BC #BC5834 #34BC58
tetradic
#5834BC #BC3454 #98BC34 #34BC9C
square
#5834BC #BC3454 #98BC34 #34BC9C
split-complementary
#5834BC #BC9C34 #54BC34
monochromatic
#2B195C #42278C #5834BC #7B5BD2 #A28BDF

Accessibility & contrast

On white

7.98
#5834BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5834BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834BC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834BC#FFFFFF#000000##FFFFFF
##5834BC1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#305875
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5834bc;
/* rgb */ color: rgb(88, 52, 188);
/* oklch */ color: oklch(45.6% 0.199 287.9);
Tailwind
colors: {
  custom: {
    50: '#916fd1',
    500: '#5834bc',
    950: '#000000',
  },
}
SCSS
$custom: #5834bc;
$custom-light: #916fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5834bc",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 255.882,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4555,
    "c": 0.19897,
    "h": 287.9
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#5834BC
secondary
#B7C983
accent
#E048B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5834BC

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

Preview Lab → · Contrast checker → · Palette generator →

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