#893DAF#893DAF

#893DAF is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.2% C 0.181 H 312.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#893DAF
RGBrgb(137, 61, 175)
HSLhsl(280, 48%, 46%)
HSVhsv(280, 65%, 69%)
CMYKcmyk(21.7%, 65.1%, 0%, 31.4%)
CIE-LABlab(40.82, 51.10, -47.37)
CIE-LCHlch(40.82, 69.68, 317.17°)
OKLaboklab(51.2% 0.122 -0.1334)
OKLCHoklch(51.2% 0.181 312.4)
XYZxyz(19.7218, 11.7515, 41.7785)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DAF #63AF3D
analogous
#503DAF #893DAF #AF3D9C
triadic
#893DAF #AF893D #3DAF89
tetradic
#893DAF #AF503D #63AF3D #3D9CAF
square
#893DAF #AF503D #63AF3D #3D9CAF
split-complementary
#893DAF #9CAF3D #3DAF50
monochromatic
#421D54 #652D82 #893DAF #A661C8 #BF8FD8

Accessibility & contrast

On white

6.27
#893DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#893DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DAF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DAF#FFFFFF#000000##FFFFFF
##893DAF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#855371
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #893daf;
/* rgb */ color: rgb(137, 61, 175);
/* oklch */ color: oklch(51.2% 0.181 312.4);
Tailwind
colors: {
  custom: {
    50: '#af78c7',
    500: '#893daf',
    950: '#000000',
  },
}
SCSS
$custom: #893daf;
$custom-light: #af78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#893daf",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 280,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.512,
    "c": 0.18077,
    "h": 312.4
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#893DAF
secondary
#9AC385
accent
#D8507D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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