#5934C2#5934C2

#5934C2 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.206 H 287.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5934C2
RGBrgb(89, 52, 194)
HSLhsl(256, 58%, 48%)
HSVhsv(256, 73%, 76%)
CMYKcmyk(54.1%, 73.2%, 0%, 23.9%)
CIE-LABlab(34.95, 51.08, -68.35)
CIE-LCHlch(34.95, 85.33, 306.77°)
OKLaboklab(46.19% 0.0612 -0.1966)
OKLCHoklch(46.19% 0.206 287.3)
XYZxyz(15.0825, 8.4741, 51.8694)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934C2 #9DC234
analogous
#3456C2 #5934C2 #A034C2
triadic
#5934C2 #C25934 #34C259
tetradic
#5934C2 #C23456 #9DC234 #34C2A0
square
#5934C2 #C23456 #9DC234 #34C2A0
split-complementary
#5934C2 #C2A034 #56C234
monochromatic
#2D1A61 #432792 #5934C2 #7E5FD4 #A58FE1

Accessibility & contrast

On white

7.79
#5934C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5934C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934C2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934C2#FFFFFF#000000##FFFFFF
##5934C21.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#004EBF
Tritanopia (blue-blind)
#2D5B78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5934c2;
/* rgb */ color: rgb(89, 52, 194);
/* oklch */ color: oklch(46.2% 0.206 287.3);
Tailwind
colors: {
  custom: {
    50: '#936fd6',
    500: '#5934c2',
    950: '#000000',
  },
}
SCSS
$custom: #5934c2;
$custom-light: #936fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5934c2",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 255.634,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46187,
    "c": 0.20589,
    "h": 287.3
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#5934C2
secondary
#BACC86
accent
#E147B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5934C2

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

Preview Lab → · Contrast checker → · Palette generator →

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