#5834CA#5834CA

#5834CA is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.215 H 285.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5834CA
RGBrgb(88, 52, 202)
HSLhsl(254, 59%, 50%)
HSVhsv(254, 74%, 79%)
CMYKcmyk(56.4%, 74.3%, 0%, 20.8%)
CIE-LABlab(35.58, 53.21, -71.99)
CIE-LCHlch(35.58, 89.52, 306.47°)
OKLaboklab(46.83% 0.0578 -0.2073)
OKLCHoklch(46.83% 0.215 285.6)
XYZxyz(15.9099, 8.7940, 56.7247)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5834CA #A6CA34
analogous
#345BCA #5834CA #A334CA
triadic
#5834CA #CA5834 #34CA58
tetradic
#5834CA #CA345B #A6CA34 #34CAA3
square
#5834CA #CA345B #A6CA34 #34CAA3
split-complementary
#5834CA #CAA334 #5BCA34
monochromatic
#2E1B69 #432799 #5834CA #8064D7 #A895E4

Accessibility & contrast

On white

7.61
#5834CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5834CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5834CA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5834CA#FFFFFF#000000##FFFFFF
##5834CA1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#205E7D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5834ca;
/* rgb */ color: rgb(88, 52, 202);
/* oklch */ color: oklch(46.8% 0.215 285.6);
Tailwind
colors: {
  custom: {
    50: '#9370db',
    500: '#5834ca',
    950: '#000000',
  },
}
SCSS
$custom: #5834ca;
$custom-light: #9370db;
$custom-dark: #000000;
JSON
{
  "hex": "#5834ca",
  "rgb": {
    "r": 88,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 254.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46833,
    "c": 0.21519,
    "h": 285.6
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#5834CA
secondary
#BFCF8B
accent
#E246BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5834CA

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

Preview Lab → · Contrast checker → · Palette generator →

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