#893EC5#893EC5

#893EC5 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.202 H 306.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#893EC5
RGBrgb(137, 62, 197)
HSLhsl(273, 54%, 51%)
HSVhsv(273, 69%, 77%)
CMYKcmyk(30.5%, 68.5%, 0%, 22.7%)
CIE-LABlab(42.45, 55.58, -57.64)
CIE-LCHlch(42.45, 80.07, 313.95°)
OKLaboklab(52.84% 0.119 -0.1636)
OKLCHoklch(52.84% 0.202 306)
XYZxyz(22.1150, 12.7950, 54.1171)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EC5 #7AC53E
analogous
#453EC5 #893EC5 #C53EBE
triadic
#893EC5 #C5893E #3EC589
tetradic
#893EC5 #C5453E #7AC53E #3EBEC5
square
#893EC5 #C5453E #7AC53E #3EBEC5
split-complementary
#893EC5 #BEC53E #3EC545
monochromatic
#482069 #692E98 #893EC5 #A66DD3 #C39CE1

Accessibility & contrast

On white

5.90
#893EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#893EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EC5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EC5#FFFFFF#000000##FFFFFF
##893EC51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#1265C2
Tritanopia (blue-blind)
#7F5C7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893ec5;
/* rgb */ color: rgb(137, 62, 197);
/* oklch */ color: oklch(52.8% 0.202 306.0);
Tailwind
colors: {
  custom: {
    50: '#b079d7',
    500: '#893ec5',
    950: '#000000',
  },
}
SCSS
$custom: #893ec5;
$custom-light: #b079d7;
$custom-dark: #000000;
JSON
{
  "hex": "#893ec5",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 273.333,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52839,
    "c": 0.20225,
    "h": 306
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#893EC5
secondary
#ACCD91
accent
#DD4B8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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