#893ED5#893ED5

#893ED5 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.219 H 302.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#893ED5
RGBrgb(137, 62, 213)
HSLhsl(270, 64%, 54%)
HSVhsv(270, 71%, 84%)
CMYKcmyk(35.7%, 70.9%, 0%, 16.5%)
CIE-LABlab(43.61, 59.31, -65.02)
CIE-LCHlch(43.61, 88.00, 312.37°)
OKLaboklab(54.02% 0.1166 -0.1852)
OKLCHoklch(54.02% 0.219 302.2)
XYZxyz(24.0465, 13.5676, 64.2899)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893ED5 #8AD53E
analogous
#3E3FD5 #893ED5 #D43ED5
triadic
#893ED5 #D5893E #3ED589
tetradic
#893ED5 #D53E3F #8AD53E #3ED5D4
square
#893ED5 #D53E3F #8AD53E #3ED5D4
split-complementary
#893ED5 #D5D43E #3FD53E
monochromatic
#4C1B7D #6A26B0 #893ED5 #A870E0 #C6A3EB

Accessibility & contrast

On white

5.65
#893ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#893ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893ED5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893ED5#FFFFFF#000000##FFFFFF
##893ED51.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#796286
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #893ed5;
/* rgb */ color: rgb(137, 62, 213);
/* oklch */ color: oklch(54.0% 0.219 302.2);
Tailwind
colors: {
  custom: {
    50: '#b179e3',
    500: '#893ed5',
    950: '#000000',
  },
}
SCSS
$custom: #893ed5;
$custom-light: #b179e3;
$custom-dark: #000000;
JSON
{
  "hex": "#893ed5",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 269.801,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54024,
    "c": 0.21886,
    "h": 302.2
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

primary
#893ED5
secondary
#B8D897
accent
#E74194
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #893ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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