#893D9C#893D9C

#893D9C is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.0% C 0.161 H 319.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#893D9C
RGBrgb(137, 61, 156)
HSLhsl(288, 44%, 43%)
HSVhsv(288, 61%, 61%)
CMYKcmyk(12.2%, 60.9%, 0%, 38.8%)
CIE-LABlab(39.68, 47.07, -37.85)
CIE-LCHlch(39.68, 60.40, 321.20°)
OKLaboklab(50.01% 0.1221 -0.1056)
OKLCHoklch(50.01% 0.161 319.2)
XYZxyz(17.9852, 11.0569, 32.6329)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893D9C #509C3D
analogous
#593D9C #893D9C #9C3D80
triadic
#893D9C #9C893D #3D9C89
tetradic
#893D9C #9C593D #509C3D #3D809C
square
#893D9C #9C593D #509C3D #3D809C
split-complementary
#893D9C #809C3D #3D9C59
monochromatic
#3C1B44 #622C70 #893D9C #AA58BE #C084CF

Accessibility & contrast

On white

6.54
#893D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#893D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893D9C
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893D9C#FFFFFF#000000##FFFFFF
##893D9C1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589F
Deuteranopia (green-blind)
#43609A
Tritanopia (blue-blind)
#894C67
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #893d9c;
/* rgb */ color: rgb(137, 61, 156);
/* oklch */ color: oklch(50.0% 0.161 319.2);
Tailwind
colors: {
  custom: {
    50: '#ae77ba',
    500: '#893d9c',
    950: '#000000',
  },
}
SCSS
$custom: #893d9c;
$custom-light: #ae77ba;
$custom-dark: #000000;
JSON
{
  "hex": "#893d9c",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 156
  },
  "hsl": {
    "h": 288,
    "s": 43.779,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.16141,
    "h": 319.2
  },
  "luminance": 0.11056
}

Semantic roles & 50–950 ramp

primary
#893D9C
secondary
#88B97C
accent
#D4546E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #893D9C

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

Preview Lab → · Contrast checker → · Palette generator →

#893D9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva