#893CB5#893CB5

#893CB5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.188 H 310.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#893CB5
RGBrgb(137, 60, 181)
HSLhsl(278, 50%, 47%)
HSVhsv(278, 67%, 71%)
CMYKcmyk(24.3%, 66.9%, 0%, 29%)
CIE-LABlab(41.04, 52.89, -50.56)
CIE-LCHlch(41.04, 73.17, 316.29°)
OKLaboklab(51.48% 0.1228 -0.1428)
OKLCHoklch(51.48% 0.188 310.7)
XYZxyz(20.2713, 11.8867, 44.9336)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893CB5 #68B53C
analogous
#4D3CB5 #893CB5 #B53CA4
triadic
#893CB5 #B5893C #3CB589
tetradic
#893CB5 #B54D3C #68B53C #3CA4B5
square
#893CB5 #B54D3C #68B53C #3CA4B5
split-complementary
#893CB5 #A4B53C #3CB54D
monochromatic
#431E59 #662D87 #893CB5 #A563CB #C091DB

Accessibility & contrast

On white

6.22
#893CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#893CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893CB5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893CB5#FFFFFF#000000##FFFFFF
##893CB51.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#2C62B2
Tritanopia (blue-blind)
#835573
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893cb5;
/* rgb */ color: rgb(137, 60, 181);
/* oklch */ color: oklch(51.5% 0.188 310.7);
Tailwind
colors: {
  custom: {
    50: '#af77cc',
    500: '#893cb5',
    950: '#000000',
  },
}
SCSS
$custom: #893cb5;
$custom-light: #af77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#893cb5",
  "rgb": {
    "r": 137,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 278.182,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.18831,
    "h": 310.7
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#893CB5
secondary
#9EC687
accent
#DA4E81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #893CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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