#893CC6#893CC6

#893CC6 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.206 H 306.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#893CC6
RGBrgb(137, 60, 198)
HSLhsl(273, 55%, 51%)
HSVhsv(273, 70%, 78%)
CMYKcmyk(30.8%, 69.7%, 0%, 22.4%)
CIE-LABlab(42.20, 56.72, -58.64)
CIE-LCHlch(42.20, 81.58, 314.05°)
OKLaboklab(52.68% 0.1209 -0.1665)
OKLCHoklch(52.68% 0.206 306)
XYZxyz(22.1232, 12.6275, 54.6870)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893CC6 #79C63C
analogous
#443CC6 #893CC6 #C63CBE
triadic
#893CC6 #C6893C #3CC689
tetradic
#893CC6 #C6443C #79C63C #3CBEC6
square
#893CC6 #C6443C #79C63C #3CBEC6
split-complementary
#893CC6 #BEC63C #3CC644
monochromatic
#481F69 #692D98 #893CC6 #A66BD4 #C29BE2

Accessibility & contrast

On white

5.96
#893CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#893CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893CC6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893CC6#FFFFFF#000000##FFFFFF
##893CC61.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0764C3
Tritanopia (blue-blind)
#7E5B7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893cc6;
/* rgb */ color: rgb(137, 60, 198);
/* oklch */ color: oklch(52.7% 0.206 306.0);
Tailwind
colors: {
  custom: {
    50: '#b078d8',
    500: '#893cc6',
    950: '#000000',
  },
}
SCSS
$custom: #893cc6;
$custom-light: #b078d8;
$custom-dark: #000000;
JSON
{
  "hex": "#893cc6",
  "rgb": {
    "r": 137,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 273.478,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.20577,
    "h": 306
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#893CC6
secondary
#ABCE90
accent
#DE4A8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83

Preview Lab

Preview with #893CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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