#893FA2#893FA2

#893FA2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.6% C 0.164 H 316.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#893FA2
RGBrgb(137, 63, 162)
HSLhsl(285, 44%, 44%)
HSVhsv(285, 61%, 64%)
CMYKcmyk(15.4%, 61.1%, 0%, 36.5%)
CIE-LABlab(40.38, 47.34, -40.33)
CIE-LCHlch(40.38, 62.19, 319.57°)
OKLaboklab(50.63% 0.1197 -0.1128)
OKLCHoklch(50.63% 0.164 316.7)
XYZxyz(18.6147, 11.4827, 35.4112)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FA2 #58A23F
analogous
#573FA2 #893FA2 #A23F8A
triadic
#893FA2 #A2893F #3FA289
tetradic
#893FA2 #A2573F #58A23F #3F8AA2
square
#893FA2 #A2573F #58A23F #3F8AA2
split-complementary
#893FA2 #8AA23F #3FA257
monochromatic
#3E1D4A #642E76 #893FA2 #A75EC0 #BF8AD1

Accessibility & contrast

On white

6.37
#893FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#893FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FA2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FA2#FFFFFF#000000##FFFFFF
##893FA21.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA5
Deuteranopia (green-blind)
#4161A0
Tritanopia (blue-blind)
#88506A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #893fa2;
/* rgb */ color: rgb(137, 63, 162);
/* oklch */ color: oklch(50.6% 0.164 316.7);
Tailwind
colors: {
  custom: {
    50: '#ae78be',
    500: '#893fa2',
    950: '#000000',
  },
}
SCSS
$custom: #893fa2;
$custom-light: #ae78be;
$custom-dark: #000000;
JSON
{
  "hex": "#893fa2",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 284.848,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.16448,
    "h": 316.7
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#893FA2
secondary
#90BC81
accent
#D45474
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #893FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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