#5930C7#5930C7

#5930C7 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.216 H 287.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5930C7
RGBrgb(89, 48, 199)
HSLhsl(256, 61%, 48%)
HSVhsv(256, 76%, 78%)
CMYKcmyk(55.3%, 75.9%, 0%, 22%)
CIE-LABlab(34.72, 54.44, -71.65)
CIE-LCHlch(34.72, 89.99, 307.22°)
OKLaboklab(46.17% 0.063 -0.2062)
OKLCHoklch(46.17% 0.216 287)
XYZxyz(15.4825, 8.3604, 54.8197)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930C7 #9EC730
analogous
#3053C7 #5930C7 #A430C7
triadic
#5930C7 #C75930 #30C759
tetradic
#5930C7 #C73053 #9EC730 #30C7A4
square
#5930C7 #C73053 #9EC730 #30C7A4
split-complementary
#5930C7 #C7A430 #53C730
monochromatic
#2D1864 #432496 #5930C7 #7E5CD8 #A58EE4

Accessibility & contrast

On white

7.86
#5930C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5930C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930C7
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930C7#FFFFFF#000000##FFFFFF
##5930C71.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#004DC4
Tritanopia (blue-blind)
#285B7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5930c7;
/* rgb */ color: rgb(89, 48, 199);
/* oklch */ color: oklch(46.2% 0.216 287.0);
Tailwind
colors: {
  custom: {
    50: '#946dd9',
    500: '#5930c7',
    950: '#000000',
  },
}
SCSS
$custom: #5930c7;
$custom-light: #946dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5930c7",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 256.291,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.21562,
    "h": 287
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#5930C7
secondary
#BACE85
accent
#E444B9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5930C7

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

Preview Lab → · Contrast checker → · Palette generator →

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