#893AB2#893AB2

#893AB2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.188 H 311.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#893AB2
RGBrgb(137, 58, 178)
HSLhsl(280, 51%, 46%)
HSVhsv(280, 67%, 70%)
CMYKcmyk(23%, 67.4%, 0%, 30.2%)
CIE-LABlab(40.51, 53.16, -49.64)
CIE-LCHlch(40.51, 72.73, 316.96°)
OKLaboklab(51.04% 0.1253 -0.14)
OKLCHoklch(51.04% 0.188 311.8)
XYZxyz(19.8640, 11.5593, 43.2956)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893AB2 #63B23A
analogous
#4D3AB2 #893AB2 #B23A9F
triadic
#893AB2 #B2893A #3AB289
tetradic
#893AB2 #B24D3A #63B23A #3A9FB2
square
#893AB2 #B24D3A #63B23A #3A9FB2
split-complementary
#893AB2 #9FB23A #3AB24D
monochromatic
#421C56 #652B84 #893AB2 #A65FCB #BF8DDA

Accessibility & contrast

On white

6.34
#893AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#893AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893AB2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893AB2#FFFFFF#000000##FFFFFF
##893AB21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#2E61AF
Tritanopia (blue-blind)
#845371
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #893ab2;
/* rgb */ color: rgb(137, 58, 178);
/* oklch */ color: oklch(51.0% 0.188 311.8);
Tailwind
colors: {
  custom: {
    50: '#af76ca',
    500: '#893ab2',
    950: '#000000',
  },
}
SCSS
$custom: #893ab2;
$custom-light: #af76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#893ab2",
  "rgb": {
    "r": 137,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 279.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.18791,
    "h": 311.8
  },
  "luminance": 0.11559
}

Semantic roles & 50–950 ramp

primary
#893AB2
secondary
#9AC483
accent
#DA4D7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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