#993DB7#993DB7

#993DB7 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.195 H 316.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#993DB7
RGBrgb(153, 61, 183)
HSLhsl(285, 50%, 48%)
HSVhsv(285, 67%, 72%)
CMYKcmyk(16.4%, 66.7%, 0%, 28.2%)
CIE-LABlab(43.55, 56.47, -47.58)
CIE-LCHlch(43.55, 73.85, 319.88°)
OKLaboklab(53.79% 0.1419 -0.1335)
OKLCHoklch(53.79% 0.195 316.7)
XYZxyz(23.3516, 13.5296, 46.1720)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#993DB7 #5BB73D
analogous
#5C3DB7 #993DB7 #B73D98
triadic
#993DB7 #B7993D #3DB799
tetradic
#993DB7 #B75C3D #5BB73D #3D98B7
square
#993DB7 #B75C3D #5BB73D #3D98B7
split-complementary
#993DB7 #98B73D #3DB75C
monochromatic
#4C1E5B #732E89 #993DB7 #B365CC #C993DB

Accessibility & contrast

On white

5.67
#993DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #993DB7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##993DB7#FFFFFF#000000##FFFFFF
##993DB71.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0261BB
Deuteranopia (green-blind)
#3F6AB4
Tritanopia (blue-blind)
#975475
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #993db7;
/* rgb */ color: rgb(153, 61, 183);
/* oklch */ color: oklch(53.8% 0.195 316.7);
Tailwind
colors: {
  custom: {
    50: '#ba79cd',
    500: '#993db7',
    950: '#000000',
  },
}
SCSS
$custom: #993db7;
$custom-light: #ba79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#993db7",
  "rgb": {
    "r": 153,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 285.246,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.19484,
    "h": 316.7
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#993DB7
secondary
#98C689
accent
#DA4E71
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #993DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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