#893F9F#893F9F

#893F9F is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.4% C 0.161 H 317.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#893F9F
RGBrgb(137, 63, 159)
HSLhsl(286, 43%, 44%)
HSVhsv(286, 60%, 62%)
CMYKcmyk(13.8%, 60.4%, 0%, 37.6%)
CIE-LABlab(40.21, 46.71, -38.81)
CIE-LCHlch(40.21, 60.73, 320.28°)
OKLaboklab(50.45% 0.1196 -0.1084)
OKLCHoklch(50.45% 0.161 317.8)
XYZxyz(18.3512, 11.3773, 34.0235)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893F9F #559F3F
analogous
#593F9F #893F9F #9F3F85
triadic
#893F9F #9F893F #3F9F89
tetradic
#893F9F #9F593F #559F3F #3F859F
square
#893F9F #9F593F #559F3F #3F859F
split-complementary
#893F9F #859F3F #3F9F59
monochromatic
#3D1C47 #632E73 #893F9F #A85DBF #C088D0

Accessibility & contrast

On white

6.41
#893F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#893F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893F9F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893F9F#FFFFFF#000000##FFFFFF
##893F9F1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#43619D
Tritanopia (blue-blind)
#894F69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #893f9f;
/* rgb */ color: rgb(137, 63, 159);
/* oklch */ color: oklch(50.4% 0.161 317.8);
Tailwind
colors: {
  custom: {
    50: '#ae78bc',
    500: '#893f9f',
    950: '#000000',
  },
}
SCSS
$custom: #893f9f;
$custom-light: #ae78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#893f9f",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 286.25,
    "s": 43.243,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.16141,
    "h": 317.8
  },
  "luminance": 0.11377
}

Semantic roles & 50–950 ramp

primary
#893F9F
secondary
#8DBB7F
accent
#D35572
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #893F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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