#893CBA#893CBA

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

Color values

HEX#893CBA
RGBrgb(137, 60, 186)
HSLhsl(277, 51%, 48%)
HSVhsv(277, 68%, 73%)
CMYKcmyk(26.3%, 67.7%, 0%, 27.1%)
CIE-LABlab(41.37, 54.00, -52.97)
CIE-LCHlch(41.37, 75.65, 315.55°)
OKLaboklab(51.82% 0.1224 -0.1498)
OKLCHoklch(51.82% 0.193 309.2)
XYZxyz(20.7935, 12.0956, 47.6841)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893CBA #6DBA3C
analogous
#4A3CBA #893CBA #BA3CAC
triadic
#893CBA #BA893C #3CBA89
tetradic
#893CBA #BA4A3C #6DBA3C #3CACBA
square
#893CBA #BA4A3C #6DBA3C #3CACBA
split-complementary
#893CBA #ACBA3C #3CBA4A
monochromatic
#451E5D #672D8C #893CBA #A566CE #C094DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##893CBA#FFFFFF#000000##FFFFFF
##893CBA1.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)
#005EBE
Deuteranopia (green-blind)
#2563B7
Tritanopia (blue-blind)
#825776
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #893cba;
/* rgb */ color: rgb(137, 60, 186);
/* oklch */ color: oklch(51.8% 0.193 309.2);
Tailwind
colors: {
  custom: {
    50: '#af77cf',
    500: '#893cba',
    950: '#000000',
  },
}
SCSS
$custom: #893cba;
$custom-light: #af77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#893cba",
  "rgb": {
    "r": 137,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 276.667,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.19344,
    "h": 309.2
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#893CBA
secondary
#A2C88A
accent
#DB4D84
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #893CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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