#993EB5#993EB5

#993EB5 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.192 H 317.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#993EB5
RGBrgb(153, 62, 181)
HSLhsl(286, 49%, 48%)
HSVhsv(286, 66%, 71%)
CMYKcmyk(15.5%, 65.7%, 0%, 29%)
CIE-LABlab(43.59, 55.63, -46.35)
CIE-LCHlch(43.59, 72.41, 320.20°)
OKLaboklab(53.78% 0.1408 -0.1299)
OKLCHoklch(53.78% 0.192 317.3)
XYZxyz(23.1988, 13.5547, 45.1014)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#993EB5 #5AB53E
analogous
#5D3EB5 #993EB5 #B53E96
triadic
#993EB5 #B5993E #3EB599
tetradic
#993EB5 #B55D3E #5AB53E #3E96B5
square
#993EB5 #B55D3E #5AB53E #3E96B5
split-complementary
#993EB5 #96B53E #3EB55D
monochromatic
#4C1F5A #722E87 #993EB5 #B366CA #C993DA

Accessibility & contrast

On white

5.66
#993EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#993EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #993EB5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##993EB5#FFFFFF#000000##FFFFFF
##993EB51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B9
Deuteranopia (green-blind)
#416AB2
Tritanopia (blue-blind)
#985474
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #993eb5;
/* rgb */ color: rgb(153, 62, 181);
/* oklch */ color: oklch(53.8% 0.192 317.3);
Tailwind
colors: {
  custom: {
    50: '#ba7acc',
    500: '#993eb5',
    950: '#000000',
  },
}
SCSS
$custom: #993eb5;
$custom-light: #ba7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#993eb5",
  "rgb": {
    "r": 153,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 285.882,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.1916,
    "h": 317.3
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#993EB5
secondary
#98C589
accent
#D94F70
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #993EB5

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

Preview Lab → · Contrast checker → · Palette generator →

#993EB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva