#893FA7#893FA7

#893FA7 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.9% C 0.170 H 314.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#893FA7
RGBrgb(137, 63, 167)
HSLhsl(283, 45%, 45%)
HSVhsv(283, 62%, 65%)
CMYKcmyk(18%, 62.3%, 0%, 34.5%)
CIE-LABlab(40.68, 48.40, -42.84)
CIE-LCHlch(40.68, 64.64, 318.49°)
OKLaboklab(50.94% 0.1198 -0.1201)
OKLCHoklch(50.94% 0.17 314.9)
XYZxyz(19.0680, 11.6640, 37.7987)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FA7 #5DA73F
analogous
#553FA7 #893FA7 #A73F91
triadic
#893FA7 #A7893F #3FA789
tetradic
#893FA7 #A7553F #5DA73F #3F91A7
square
#893FA7 #A7553F #5DA73F #3F91A7
split-complementary
#893FA7 #91A73F #3FA755
monochromatic
#401D4E #652E7B #893FA7 #A760C3 #BF8DD4

Accessibility & contrast

On white

6.30
#893FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#893FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FA7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FA7#FFFFFF#000000##FFFFFF
##893FA71.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5CAA
Deuteranopia (green-blind)
#3D62A4
Tritanopia (blue-blind)
#87526D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #893fa7;
/* rgb */ color: rgb(137, 63, 167);
/* oklch */ color: oklch(50.9% 0.170 314.9);
Tailwind
colors: {
  custom: {
    50: '#ae78c2',
    500: '#893fa7',
    950: '#000000',
  },
}
SCSS
$custom: #893fa7;
$custom-light: #ae78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#893fa7",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 282.692,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.16964,
    "h": 314.9
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#893FA7
secondary
#94BF83
accent
#D55378
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110912
muted
#807B81

Preview Lab

Preview with #893FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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