#5934C5#5934C5

#5934C5 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.209 H 286.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5934C5
RGBrgb(89, 52, 197)
HSLhsl(255, 58%, 49%)
HSVhsv(255, 74%, 77%)
CMYKcmyk(54.8%, 73.6%, 0%, 22.7%)
CIE-LABlab(35.22, 51.93, -69.66)
CIE-LCHlch(35.22, 86.89, 306.70°)
OKLaboklab(46.46% 0.0605 -0.2004)
OKLCHoklch(46.46% 0.209 286.8)
XYZxyz(15.4229, 8.6102, 53.6618)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934C5 #A0C534
analogous
#3458C5 #5934C5 #A234C5
triadic
#5934C5 #C55934 #34C559
tetradic
#5934C5 #C53458 #A0C534 #34C5A2
square
#5934C5 #C53458 #A0C534 #34C5A2
split-complementary
#5934C5 #C5A234 #58C534
monochromatic
#2D1A64 #432795 #5934C5 #7F61D5 #A691E2

Accessibility & contrast

On white

7.71
#5934C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5934C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934C5
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934C5#FFFFFF#000000##FFFFFF
##5934C51.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#2A5C7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5934c5;
/* rgb */ color: rgb(89, 52, 197);
/* oklch */ color: oklch(46.5% 0.209 286.8);
Tailwind
colors: {
  custom: {
    50: '#936fd8',
    500: '#5934c5',
    950: '#000000',
  },
}
SCSS
$custom: #5934c5;
$custom-light: #936fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5934c5",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 255.31,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46462,
    "c": 0.20936,
    "h": 286.8
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#5934C5
secondary
#BBCD88
accent
#E146BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5934C5

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

Preview Lab → · Contrast checker → · Palette generator →

#5934C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva