#993E8A#993E8A

#993E8A is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.4% C 0.153 H 334.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#993E8A
RGBrgb(153, 62, 138)
HSLhsl(310, 42%, 42%)
HSVhsv(310, 59%, 60%)
CMYKcmyk(0%, 59.5%, 9.8%, 40%)
CIE-LABlab(41.30, 47.64, -24.23)
CIE-LCHlch(41.30, 53.45, 333.04°)
OKLaboklab(51.38% 0.1379 -0.0659)
OKLCHoklch(51.38% 0.153 334.5)
XYZxyz(19.4470, 12.0540, 25.3422)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#993E8A #3E994D
analogous
#7B3E99 #993E8A #993E5D
triadic
#993E8A #8A993E #3E8A99
tetradic
#993E8A #997B3E #3E994D #3E5D99
square
#993E8A #997B3E #3E994D #3E5D99
split-complementary
#993E8A #5D993E #3E997B
monochromatic
#421B3B #6D2C63 #993E8A #BC59AB #CD84C1

Accessibility & contrast

On white

6.16
#993E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#993E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #993E8A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##993E8A#FFFFFF#000000##FFFFFF
##993E8A1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#596688
Tritanopia (blue-blind)
#A0445E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #993e8a;
/* rgb */ color: rgb(153, 62, 138);
/* oklch */ color: oklch(51.4% 0.153 334.5);
Tailwind
colors: {
  custom: {
    50: '#ba79ac',
    500: '#993e8a',
    950: '#000000',
  },
}
SCSS
$custom: #993e8a;
$custom-light: #ba79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#993e8a",
  "rgb": {
    "r": 153,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 309.89,
    "s": 42.326,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51377,
    "c": 0.15285,
    "h": 334.5
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#993E8A
secondary
#7BB885
accent
#D26A56
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #993E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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