#5933D7#5933D7

#5933D7 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.231 H 284.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5933D7
RGBrgb(89, 51, 215)
HSLhsl(254, 67%, 52%)
HSVhsv(254, 76%, 84%)
CMYKcmyk(58.6%, 76.3%, 0%, 15.7%)
CIE-LABlab(36.74, 57.49, -77.62)
CIE-LCHlch(36.74, 96.59, 306.53°)
OKLaboklab(48.04% 0.0566 -0.2237)
OKLCHoklch(48.04% 0.231 284.2)
XYZxyz(17.5656, 9.3967, 65.1649)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933D7 #B1D733
analogous
#335FD7 #5933D7 #AB33D7
triadic
#5933D7 #D75933 #33D759
tetradic
#5933D7 #D7335F #B1D733 #33D7AB
square
#5933D7 #D7335F #B1D733 #33D7AB
split-complementary
#5933D7 #D7AB33 #5FD733
monochromatic
#2E1878 #4122AB #5933D7 #8366E1 #AC99EB

Accessibility & contrast

On white

7.29
#5933D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5933D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5933D7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933D7#FFFFFF#000000##FFFFFF
##5933D71.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDC
Deuteranopia (green-blind)
#0051D4
Tritanopia (blue-blind)
#056284
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5933d7;
/* rgb */ color: rgb(89, 51, 215);
/* oklch */ color: oklch(48.0% 0.231 284.2);
Tailwind
colors: {
  custom: {
    50: '#9670e5',
    500: '#5933d7',
    950: '#000000',
  },
}
SCSS
$custom: #5933d7;
$custom-light: #9670e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5933d7",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 215
  },
  "hsl": {
    "h": 253.902,
    "s": 67.213,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48035,
    "c": 0.23074,
    "h": 284.2
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#5933D7
secondary
#C6D78F
accent
#EA3EC2
background
#FAF6FE
surface
#F3ECFC
border
#CDC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5933D7

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

Preview Lab → · Contrast checker → · Palette generator →

#5933D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva