#893387#893387

#893387 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.5% C 0.157 H 328.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#893387
RGBrgb(137, 51, 135)
HSLhsl(301, 46%, 37%)
HSVhsv(301, 63%, 54%)
CMYKcmyk(0%, 62.8%, 1.5%, 46.3%)
CIE-LABlab(36.81, 47.71, -29.60)
CIE-LCHlch(36.81, 56.15, 328.19°)
OKLaboklab(47.55% 0.1337 -0.0815)
OKLCHoklch(47.55% 0.157 328.6)
XYZxyz(15.8733, 9.4363, 23.9023)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893387 #338935
analogous
#603389 #893387 #89335C
triadic
#893387 #878933 #338789
tetradic
#893387 #896033 #338935 #335C89
square
#893387 #896033 #338935 #335C89
split-complementary
#893387 #5C8933 #338960
monochromatic
#30122F #5C225B #893387 #B644B3 #C96EC7

Accessibility & contrast

On white

7.27
#893387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#893387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #893387
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893387#FFFFFF#000000##FFFFFF
##8933871.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F8A
Deuteranopia (green-blind)
#485B85
Tritanopia (blue-blind)
#8D3D58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #893387;
/* rgb */ color: rgb(137, 51, 135);
/* oklch */ color: oklch(47.5% 0.157 328.6);
Tailwind
colors: {
  custom: {
    50: '#ae71aa',
    500: '#893387',
    950: '#000000',
  },
}
SCSS
$custom: #893387;
$custom-light: #ae71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#893387",
  "rgb": {
    "r": 137,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 301.395,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47548,
    "c": 0.15663,
    "h": 328.6
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#893387
secondary
#67B169
accent
#D55552
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #893387

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

Preview Lab → · Contrast checker → · Palette generator →

#893387 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva