#893F8A#893F8A

#893F8A is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.3% C 0.141 H 326.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#893F8A
RGBrgb(137, 63, 138)
HSLhsl(299, 37%, 39%)
HSVhsv(299, 54%, 54%)
CMYKcmyk(0.7%, 54.3%, 0%, 45.9%)
CIE-LABlab(39.09, 42.50, -27.86)
CIE-LCHlch(39.09, 50.82, 326.75°)
OKLaboklab(49.26% 0.1178 -0.0767)
OKLCHoklch(49.26% 0.141 326.9)
XYZxyz(16.6812, 10.7093, 25.2283)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893F8A #408A3F
analogous
#643F8A #893F8A #8A3F66
triadic
#893F8A #8A893F #3F8A89
tetradic
#893F8A #8A643F #408A3F #3F668A
square
#893F8A #8A643F #408A3F #3F668A
split-complementary
#893F8A #668A3F #3F8A64
monochromatic
#361936 #5F2C60 #893F8A #B055B1 #C47FC5

Accessibility & contrast

On white

6.68
#893F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#893F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893F8A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893F8A#FFFFFF#000000##FFFFFF
##893F8A1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#8D485E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #893f8a;
/* rgb */ color: rgb(137, 63, 138);
/* oklch */ color: oklch(49.3% 0.141 326.9);
Tailwind
colors: {
  custom: {
    50: '#ad78ac',
    500: '#893f8a',
    950: '#000000',
  },
}
SCSS
$custom: #893f8a;
$custom-light: #ad78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#893f8a",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 299.2,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.14053,
    "h": 326.9
  },
  "luminance": 0.10708
}

Semantic roles & 50–950 ramp

primary
#893F8A
secondary
#77AF76
accent
#CD5B5C
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #893F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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