#893AB7#893AB7

#893AB7 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.193 H 310.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#893AB7
RGBrgb(137, 58, 183)
HSLhsl(278, 52%, 47%)
HSVhsv(278, 68%, 72%)
CMYKcmyk(25.1%, 68.3%, 0%, 28.2%)
CIE-LABlab(40.84, 54.25, -52.06)
CIE-LCHlch(40.84, 75.19, 316.18°)
OKLaboklab(51.38% 0.1249 -0.1471)
OKLCHoklch(51.38% 0.193 310.3)
XYZxyz(20.3752, 11.7638, 45.9879)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893AB7 #68B73A
analogous
#4B3AB7 #893AB7 #B73AA7
triadic
#893AB7 #B7893A #3AB789
tetradic
#893AB7 #B74B3A #68B73A #3AA7B7
square
#893AB7 #B74B3A #68B73A #3AA7B7
split-complementary
#893AB7 #A7B73A #3AB74B
monochromatic
#431D5A #662B89 #893AB7 #A561CD #C090DC

Accessibility & contrast

On white

6.26
#893AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #893AB7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893AB7#FFFFFF#000000##FFFFFF
##893AB71.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2762B4
Tritanopia (blue-blind)
#835474
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #893ab7;
/* rgb */ color: rgb(137, 58, 183);
/* oklch */ color: oklch(51.4% 0.193 310.3);
Tailwind
colors: {
  custom: {
    50: '#af76cd',
    500: '#893ab7',
    950: '#000000',
  },
}
SCSS
$custom: #893ab7;
$custom-light: #af76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#893ab7",
  "rgb": {
    "r": 137,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 277.92,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.19297,
    "h": 310.3
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#893AB7
secondary
#9EC786
accent
#DB4C81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #893AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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