#893AB4#893AB4

#893AB4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.190 H 311.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#893AB4
RGBrgb(137, 58, 180)
HSLhsl(279, 51%, 47%)
HSVhsv(279, 68%, 71%)
CMYKcmyk(23.9%, 67.8%, 0%, 29.4%)
CIE-LABlab(40.64, 53.59, -50.61)
CIE-LCHlch(40.64, 73.72, 316.64°)
OKLaboklab(51.17% 0.1251 -0.1429)
OKLCHoklch(51.17% 0.19 311.2)
XYZxyz(20.0663, 11.6402, 44.3609)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893AB4 #65B43A
analogous
#4C3AB4 #893AB4 #B43AA2
triadic
#893AB4 #B4893A #3AB489
tetradic
#893AB4 #B44C3A #65B43A #3AA2B4
square
#893AB4 #B44C3A #65B43A #3AA2B4
split-complementary
#893AB4 #A2B43A #3AB44C
monochromatic
#431C57 #662B86 #893AB4 #A660CC #C08EDB

Accessibility & contrast

On white

6.31
#893AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #893AB4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893AB4#FFFFFF#000000##FFFFFF
##893AB41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#2B61B1
Tritanopia (blue-blind)
#845372
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #893ab4;
/* rgb */ color: rgb(137, 58, 180);
/* oklch */ color: oklch(51.2% 0.190 311.2);
Tailwind
colors: {
  custom: {
    50: '#af76cb',
    500: '#893ab4',
    950: '#000000',
  },
}
SCSS
$custom: #893ab4;
$custom-light: #af76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#893ab4",
  "rgb": {
    "r": 137,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 278.852,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.18993,
    "h": 311.2
  },
  "luminance": 0.1164
}

Semantic roles & 50–950 ramp

primary
#893AB4
secondary
#9BC585
accent
#DB4D7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #893AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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