#893FA8#893FA8

#893FA8 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.0% C 0.171 H 314.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#893FA8
RGBrgb(137, 63, 168)
HSLhsl(282, 45%, 45%)
HSVhsv(282, 63%, 66%)
CMYKcmyk(18.5%, 62.5%, 0%, 34.1%)
CIE-LABlab(40.74, 48.62, -43.34)
CIE-LCHlch(40.74, 65.13, 318.28°)
OKLaboklab(51% 0.1198 -0.1216)
OKLCHoklch(51% 0.171 314.6)
XYZxyz(19.1608, 11.7011, 38.2874)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FA8 #5EA83F
analogous
#543FA8 #893FA8 #A83F92
triadic
#893FA8 #A8893F #3FA889
tetradic
#893FA8 #A8543F #5EA83F #3F92A8
square
#893FA8 #A8543F #5EA83F #3F92A8
split-complementary
#893FA8 #92A83F #3FA854
monochromatic
#401E4F #652E7B #893FA8 #A661C4 #BF8DD4

Accessibility & contrast

On white

6.29
#893FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#893FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FA8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FA8#FFFFFF#000000##FFFFFF
##893FA81.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5CAB
Deuteranopia (green-blind)
#3C62A5
Tritanopia (blue-blind)
#86526E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #893fa8;
/* rgb */ color: rgb(137, 63, 168);
/* oklch */ color: oklch(51.0% 0.171 314.6);
Tailwind
colors: {
  custom: {
    50: '#ae79c2',
    500: '#893fa8',
    950: '#000000',
  },
}
SCSS
$custom: #893fa8;
$custom-light: #ae79c2;
$custom-dark: #000000;
JSON
{
  "hex": "#893fa8",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 282.286,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51002,
    "c": 0.17068,
    "h": 314.6
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#893FA8
secondary
#95BF84
accent
#D55379
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110912
muted
#807B81

Preview Lab

Preview with #893FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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