#893CB1#893CB1

#893CB1 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.184 H 311.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#893CB1
RGBrgb(137, 60, 177)
HSLhsl(279, 49%, 46%)
HSVhsv(279, 66%, 69%)
CMYKcmyk(22.6%, 66.1%, 0%, 30.6%)
CIE-LABlab(40.78, 52.01, -48.62)
CIE-LCHlch(40.78, 71.20, 316.93°)
OKLaboklab(51.21% 0.1231 -0.1371)
OKLCHoklch(51.21% 0.184 311.9)
XYZxyz(19.8668, 11.7249, 42.8030)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893CB1 #64B13C
analogous
#4F3CB1 #893CB1 #B13C9F
triadic
#893CB1 #B1893C #3CB189
tetradic
#893CB1 #B14F3C #64B13C #3C9FB1
square
#893CB1 #B14F3C #64B13C #3C9FB1
split-complementary
#893CB1 #9FB13C #3CB14F
monochromatic
#421D56 #662D83 #893CB1 #A661C9 #BF8FD9

Accessibility & contrast

On white

6.28
#893CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#893CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893CB1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893CB1#FFFFFF#000000##FFFFFF
##893CB11.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#3162AE
Tritanopia (blue-blind)
#845371
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #893cb1;
/* rgb */ color: rgb(137, 60, 177);
/* oklch */ color: oklch(51.2% 0.184 311.9);
Tailwind
colors: {
  custom: {
    50: '#af77c9',
    500: '#893cb1',
    950: '#000000',
  },
}
SCSS
$custom: #893cb1;
$custom-light: #af77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#893cb1",
  "rgb": {
    "r": 137,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 279.487,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5121,
    "c": 0.18421,
    "h": 311.9
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#893CB1
secondary
#9BC485
accent
#D94F7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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