#5934CD#5934CD

#5934CD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.219 H 285.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5934CD
RGBrgb(89, 52, 205)
HSLhsl(255, 60%, 50%)
HSVhsv(255, 75%, 80%)
CMYKcmyk(56.6%, 74.6%, 0%, 19.6%)
CIE-LABlab(35.96, 54.20, -73.12)
CIE-LCHlch(35.96, 91.01, 306.55°)
OKLaboklab(47.2% 0.0585 -0.2105)
OKLCHoklch(47.2% 0.219 285.5)
XYZxyz(16.3639, 8.9866, 58.6181)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934CD #A8CD34
analogous
#345BCD #5934CD #A634CD
triadic
#5934CD #CD5934 #34CD59
tetradic
#5934CD #CD345B #A8CD34 #34CDA6
square
#5934CD #CD345B #A8CD34 #34CDA6
split-complementary
#5934CD #CDA634 #5BCD34
monochromatic
#2E1B6C #43279D #5934CD #8165D9 #A996E5

Accessibility & contrast

On white

7.51
#5934CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5934CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934CD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934CD#FFFFFF#000000##FFFFFF
##5934CD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0050CA
Tritanopia (blue-blind)
#1F5F7E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5934cd;
/* rgb */ color: rgb(89, 52, 205);
/* oklch */ color: oklch(47.2% 0.219 285.5);
Tailwind
colors: {
  custom: {
    50: '#9470de',
    500: '#5934cd',
    950: '#000000',
  },
}
SCSS
$custom: #5934cd;
$custom-light: #9470de;
$custom-dark: #000000;
JSON
{
  "hex": "#5934cd",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 254.51,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47204,
    "c": 0.21853,
    "h": 285.5
  },
  "luminance": 0.08988
}

Semantic roles & 50–950 ramp

primary
#5934CD
secondary
#C0D18C
accent
#E444BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5934CD

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

Preview Lab → · Contrast checker → · Palette generator →

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