#5834BE#5834BE

#5834BE is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.201 H 287.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5834BE
RGBrgb(88, 52, 190)
HSLhsl(256, 57%, 47%)
HSVhsv(256, 73%, 75%)
CMYKcmyk(53.7%, 72.6%, 0%, 25.5%)
CIE-LABlab(34.49, 49.79, -66.76)
CIE-LCHlch(34.49, 83.28, 306.72°)
OKLaboklab(45.73% 0.0607 -0.1919)
OKLCHoklch(45.73% 0.201 287.5)
XYZxyz(14.5440, 8.2477, 49.5308)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834BE #9ABE34
analogous
#3455BE #5834BE #9D34BE
triadic
#5834BE #BE5834 #34BE58
tetradic
#5834BE #BE3455 #9ABE34 #34BE9D
square
#5834BE #BE3455 #9ABE34 #34BE9D
split-complementary
#5834BE #BE9D34 #55BE34
monochromatic
#2B1A5E #42278E #5834BE #7B5DD3 #A28DE0

Accessibility & contrast

On white

7.93
#5834BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5834BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834BE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834BE#FFFFFF#000000##FFFFFF
##5834BE1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#2E5976
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5834be;
/* rgb */ color: rgb(88, 52, 190);
/* oklch */ color: oklch(45.7% 0.201 287.5);
Tailwind
colors: {
  custom: {
    50: '#916fd3',
    500: '#5834be',
    950: '#000000',
  },
}
SCSS
$custom: #5834be;
$custom-light: #916fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5834be",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 255.652,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4573,
    "c": 0.2013,
    "h": 287.5
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5834BE

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

Preview Lab → · Contrast checker → · Palette generator →

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