#893FAC#893FAC

#893FAC is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.3% C 0.175 H 313.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#893FAC
RGBrgb(137, 63, 172)
HSLhsl(281, 46%, 46%)
HSVhsv(281, 63%, 67%)
CMYKcmyk(20.3%, 63.4%, 0%, 32.5%)
CIE-LABlab(40.98, 49.49, -45.33)
CIE-LCHlch(40.98, 67.11, 317.51°)
OKLaboklab(51.26% 0.1197 -0.1274)
OKLCHoklch(51.26% 0.175 313.2)
XYZxyz(19.5391, 11.8525, 40.2802)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FAC #62AC3F
analogous
#523FAC #893FAC #AC3F98
triadic
#893FAC #AC893F #3FAC89
tetradic
#893FAC #AC523F #62AC3F #3F98AC
square
#893FAC #AC523F #62AC3F #3F98AC
split-complementary
#893FAC #98AC3F #3FAC52
monochromatic
#421E52 #652F7F #893FAC #A663C6 #BF8FD6

Accessibility & contrast

On white

6.23
#893FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#893FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FAC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FAC#FFFFFF#000000##FFFFFF
##893FAC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125DAF
Deuteranopia (green-blind)
#3962A9
Tritanopia (blue-blind)
#865370
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893fac;
/* rgb */ color: rgb(137, 63, 172);
/* oklch */ color: oklch(51.3% 0.175 313.2);
Tailwind
colors: {
  custom: {
    50: '#af79c5',
    500: '#893fac',
    950: '#000000',
  },
}
SCSS
$custom: #893fac;
$custom-light: #af79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#893fac",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 280.734,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.17483,
    "h": 313.2
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#893FAC
secondary
#99C186
accent
#D6527C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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