#893EB5#893EB5

#893EB5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.186 H 310.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#893EB5
RGBrgb(137, 62, 181)
HSLhsl(278, 49%, 48%)
HSVhsv(278, 66%, 71%)
CMYKcmyk(24.3%, 65.7%, 0%, 29%)
CIE-LABlab(41.37, 51.95, -50.02)
CIE-LCHlch(41.37, 72.12, 316.09°)
OKLaboklab(51.72% 0.1205 -0.1412)
OKLCHoklch(51.72% 0.186 310.5)
XYZxyz(20.3780, 12.1002, 44.9692)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EB5 #6AB53E
analogous
#4D3EB5 #893EB5 #B53EA5
triadic
#893EB5 #B5893E #3EB589
tetradic
#893EB5 #B54D3E #6AB53E #3EA5B5
square
#893EB5 #B54D3E #6AB53E #3EA5B5
split-complementary
#893EB5 #A5B53E #3EB54D
monochromatic
#441F5A #662E87 #893EB5 #A566CA #C093DA

Accessibility & contrast

On white

6.14
#893EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#893EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EB5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EB5#FFFFFF#000000##FFFFFF
##893EB51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#2F63B2
Tritanopia (blue-blind)
#835674
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #893eb5;
/* rgb */ color: rgb(137, 62, 181);
/* oklch */ color: oklch(51.7% 0.186 310.5);
Tailwind
colors: {
  custom: {
    50: '#af78cc',
    500: '#893eb5',
    950: '#000000',
  },
}
SCSS
$custom: #893eb5;
$custom-light: #af78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#893eb5",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 277.815,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.18561,
    "h": 310.5
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

primary
#893EB5
secondary
#A0C589
accent
#D94F82
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #893EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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