#5934C7#5934C7

#5934C7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.6% C 0.212 H 286.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5934C7
RGBrgb(89, 52, 199)
HSLhsl(255, 59%, 49%)
HSVhsv(255, 74%, 78%)
CMYKcmyk(55.3%, 73.9%, 0%, 22%)
CIE-LABlab(35.41, 52.50, -70.53)
CIE-LCHlch(35.41, 87.92, 306.66°)
OKLaboklab(46.65% 0.06 -0.203)
OKLCHoklch(46.65% 0.212 286.5)
XYZxyz(15.6535, 8.7025, 54.8767)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934C7 #A2C734
analogous
#3459C7 #5934C7 #A334C7
triadic
#5934C7 #C75934 #34C759
tetradic
#5934C7 #C73459 #A2C734 #34C7A3
square
#5934C7 #C73459 #A2C734 #34C7A3
split-complementary
#5934C7 #C7A334 #59C734
monochromatic
#2E1B66 #432796 #5934C7 #7F62D6 #A793E3

Accessibility & contrast

On white

7.66
#5934C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5934C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934C7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934C7#FFFFFF#000000##FFFFFF
##5934C71.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#275D7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5934c7;
/* rgb */ color: rgb(89, 52, 199);
/* oklch */ color: oklch(46.6% 0.212 286.5);
Tailwind
colors: {
  custom: {
    50: '#936fd9',
    500: '#5934c7',
    950: '#000000',
  },
}
SCSS
$custom: #5934c7;
$custom-light: #936fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5934c7",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 255.102,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46646,
    "c": 0.21167,
    "h": 286.5
  },
  "luminance": 0.08703
}

Semantic roles & 50–950 ramp

primary
#5934C7
secondary
#BCCE89
accent
#E246BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5934C7

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

Preview Lab → · Contrast checker → · Palette generator →

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