#5934C4#5934C4

#5934C4 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.208 H 287.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5934C4
RGBrgb(89, 52, 196)
HSLhsl(255, 58%, 49%)
HSVhsv(255, 73%, 77%)
CMYKcmyk(54.6%, 73.5%, 0%, 23.1%)
CIE-LABlab(35.13, 51.65, -69.23)
CIE-LCHlch(35.13, 86.37, 306.72°)
OKLaboklab(46.37% 0.0607 -0.1991)
OKLCHoklch(46.37% 0.208 287)
XYZxyz(15.3087, 8.5645, 53.0603)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934C4 #9FC434
analogous
#3457C4 #5934C4 #A134C4
triadic
#5934C4 #C45934 #34C459
tetradic
#5934C4 #C43457 #9FC434 #34C4A1
square
#5934C4 #C43457 #9FC434 #34C4A1
split-complementary
#5934C4 #C4A134 #57C434
monochromatic
#2D1A63 #432794 #5934C4 #7E60D5 #A591E2

Accessibility & contrast

On white

7.74
#5934C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5934C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934C4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934C4#FFFFFF#000000##FFFFFF
##5934C41.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#2B5B79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5934c4;
/* rgb */ color: rgb(89, 52, 196);
/* oklch */ color: oklch(46.4% 0.208 287.0);
Tailwind
colors: {
  custom: {
    50: '#936fd7',
    500: '#5934c4',
    950: '#000000',
  },
}
SCSS
$custom: #5934c4;
$custom-light: #936fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5934c4",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 255.417,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4637,
    "c": 0.2082,
    "h": 287
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#5934C4
secondary
#BBCC87
accent
#E147BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5934C4

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

Preview Lab → · Contrast checker → · Palette generator →

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