#893FA6#893FA6

#893FA6 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.9% C 0.169 H 315.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#893FA6
RGBrgb(137, 63, 166)
HSLhsl(283, 45%, 45%)
HSVhsv(283, 62%, 65%)
CMYKcmyk(17.5%, 62%, 0%, 34.9%)
CIE-LABlab(40.62, 48.19, -42.34)
CIE-LCHlch(40.62, 64.15, 318.70°)
OKLaboklab(50.88% 0.1198 -0.1187)
OKLCHoklch(50.88% 0.169 315.3)
XYZxyz(18.9759, 11.6272, 37.3137)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FA6 #5CA63F
analogous
#563FA6 #893FA6 #A63F8F
triadic
#893FA6 #A6893F #3FA689
tetradic
#893FA6 #A6563F #5CA63F #3F8FA6
square
#893FA6 #A6563F #5CA63F #3F8FA6
split-complementary
#893FA6 #8FA63F #3FA656
monochromatic
#401D4D #642E7A #893FA6 #A760C3 #BF8CD3

Accessibility & contrast

On white

6.32
#893FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #893FA6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FA6#FFFFFF#000000##FFFFFF
##893FA61.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5BA9
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#87516C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #893fa6;
/* rgb */ color: rgb(137, 63, 166);
/* oklch */ color: oklch(50.9% 0.169 315.3);
Tailwind
colors: {
  custom: {
    50: '#ae78c1',
    500: '#893fa6',
    950: '#000000',
  },
}
SCSS
$custom: #893fa6;
$custom-light: #ae78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#893fa6",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 283.107,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.16861,
    "h": 315.3
  },
  "luminance": 0.11627
}

Semantic roles & 50–950 ramp

primary
#893FA6
secondary
#93BE83
accent
#D55378
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #893FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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