#893EC1#893EC1

#893EC1 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.6% C 0.198 H 307.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#893EC1
RGBrgb(137, 62, 193)
HSLhsl(274, 51%, 50%)
HSVhsv(274, 68%, 76%)
CMYKcmyk(29%, 67.9%, 0%, 24.3%)
CIE-LABlab(42.18, 54.66, -55.76)
CIE-LCHlch(42.18, 78.08, 314.43°)
OKLaboklab(52.55% 0.1194 -0.158)
OKLCHoklch(52.55% 0.198 307.1)
XYZxyz(21.6628, 12.6141, 51.7353)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EC1 #76C13E
analogous
#473EC1 #893EC1 #C13EB8
triadic
#893EC1 #C1893E #3EC189
tetradic
#893EC1 #C1473E #76C13E #3EB8C1
square
#893EC1 #C1473E #76C13E #3EB8C1
split-complementary
#893EC1 #B8C13E #3EC147
monochromatic
#472064 #682F93 #893EC1 #A56CD0 #C29BDF

Accessibility & contrast

On white

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

On black

3.52
#893EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##893EC1#FFFFFF#000000##FFFFFF
##893EC11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#1C64BE
Tritanopia (blue-blind)
#805B7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893ec1;
/* rgb */ color: rgb(137, 62, 193);
/* oklch */ color: oklch(52.6% 0.198 307.1);
Tailwind
colors: {
  custom: {
    50: '#b079d4',
    500: '#893ec1',
    950: '#000000',
  },
}
SCSS
$custom: #893ec1;
$custom-light: #b079d4;
$custom-dark: #000000;
JSON
{
  "hex": "#893ec1",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 274.351,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.19809,
    "h": 307.1
  },
  "luminance": 0.12614
}

Semantic roles & 50–950 ramp

primary
#893EC1
secondary
#A9CB90
accent
#DB4D8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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