#93167F#93167F

#93167F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.189 H 336.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#93167F
RGBrgb(147, 22, 127)
HSLhsl(310, 74%, 33%)
HSVhsv(310, 85%, 58%)
CMYKcmyk(0%, 85%, 13.6%, 42.4%)
CIE-LABlab(34.62, 58.74, -27.96)
CIE-LCHlch(34.62, 65.06, 334.55°)
OKLaboklab(46.16% 0.1728 -0.0764)
OKLCHoklch(46.16% 0.189 336.1)
XYZxyz(16.1506, 8.3107, 20.8281)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#93167F #16932A
analogous
#681693 #93167F #931640
triadic
#93167F #7F9316 #167F93
tetradic
#93167F #936816 #16932A #164093
square
#93167F #936816 #16932A #164093
split-complementary
#93167F #409316 #169368
monochromatic
#290623 #5E0E51 #93167F #C81EAD #E341C9

Accessibility & contrast

On white

7.89
#93167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#93167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #93167F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##93167F#FFFFFF#000000##FFFFFF
##93167F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184682
Deuteranopia (green-blind)
#48587C
Tritanopia (blue-blind)
#9B224C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #93167f;
/* rgb */ color: rgb(147, 22, 127);
/* oklch */ color: oklch(46.2% 0.189 336.1);
Tailwind
colors: {
  custom: {
    50: '#b766a4',
    500: '#93167f',
    950: '#000000',
  },
}
SCSS
$custom: #93167f;
$custom-light: #b766a4;
$custom-dark: #000000;
JSON
{
  "hex": "#93167f",
  "rgb": {
    "r": 147,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 309.6,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46163,
    "c": 0.1889,
    "h": 336.1
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#93167F
secondary
#42C357
accent
#F15537
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #93167F

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

Preview Lab → · Contrast checker → · Palette generator →

#93167F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva