#5934CA#5934CA

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

Color values

HEX#5934CA
RGBrgb(89, 52, 202)
HSLhsl(255, 59%, 50%)
HSVhsv(255, 74%, 79%)
CMYKcmyk(55.9%, 74.3%, 0%, 20.8%)
CIE-LABlab(35.68, 53.35, -71.83)
CIE-LCHlch(35.68, 89.47, 306.60°)
OKLaboklab(46.92% 0.0593 -0.2068)
OKLCHoklch(46.92% 0.215 286)
XYZxyz(16.0053, 8.8432, 56.7292)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934CA #A5CA34
analogous
#345ACA #5934CA #A434CA
triadic
#5934CA #CA5934 #34CA59
tetradic
#5934CA #CA345A #A5CA34 #34CAA4
square
#5934CA #CA345A #A5CA34 #34CAA4
split-complementary
#5934CA #CAA434 #5ACA34
monochromatic
#2E1B69 #442799 #5934CA #8064D7 #A895E4

Accessibility & contrast

On white

7.58
#5934CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5934CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934CA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934CA#FFFFFF#000000##FFFFFF
##5934CA1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5934ca;
/* rgb */ color: rgb(89, 52, 202);
/* oklch */ color: oklch(46.9% 0.215 286.0);
Tailwind
colors: {
  custom: {
    50: '#9470db',
    500: '#5934ca',
    950: '#000000',
  },
}
SCSS
$custom: #5934ca;
$custom-light: #9470db;
$custom-dark: #000000;
JSON
{
  "hex": "#5934ca",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 254.8,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46924,
    "c": 0.2151,
    "h": 286
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#5934CA
secondary
#BECF8B
accent
#E246BC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5934CA

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

Preview Lab → · Contrast checker → · Palette generator →

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