#893EA2#893EA2

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

Color values

HEX#893EA2
RGBrgb(137, 62, 162)
HSLhsl(285, 45%, 44%)
HSVhsv(285, 62%, 64%)
CMYKcmyk(15.4%, 61.7%, 0%, 36.5%)
CIE-LABlab(40.20, 47.83, -40.62)
CIE-LCHlch(40.20, 62.75, 319.66°)
OKLaboklab(50.5% 0.121 -0.1136)
OKLCHoklch(50.5% 0.166 316.8)
XYZxyz(18.5598, 11.3729, 35.3930)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EA2 #57A23E
analogous
#573EA2 #893EA2 #A23E89
triadic
#893EA2 #A2893E #3EA289
tetradic
#893EA2 #A2573E #57A23E #3E89A2
square
#893EA2 #A2573E #57A23E #3E89A2
split-complementary
#893EA2 #89A23E #3EA257
monochromatic
#3E1C49 #642D76 #893EA2 #A85CC1 #BF89D2

Accessibility & contrast

On white

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

On black

3.27
#893EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##893EA2#FFFFFF#000000##FFFFFF
##893EA21.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#4061A0
Tritanopia (blue-blind)
#884F6A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #893ea2;
/* rgb */ color: rgb(137, 62, 162);
/* oklch */ color: oklch(50.5% 0.166 316.8);
Tailwind
colors: {
  custom: {
    50: '#ae78be',
    500: '#893ea2',
    950: '#000000',
  },
}
SCSS
$custom: #893ea2;
$custom-light: #ae78be;
$custom-dark: #000000;
JSON
{
  "hex": "#893ea2",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 285,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50499,
    "c": 0.16599,
    "h": 316.8
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#893EA2
secondary
#8FBC80
accent
#D45374
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #893EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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