#893ED8#893ED8

#893ED8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.222 H 301.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#893ED8
RGBrgb(137, 62, 216)
HSLhsl(269, 66%, 55%)
HSVhsv(269, 71%, 85%)
CMYKcmyk(36.6%, 71.3%, 0%, 15.3%)
CIE-LABlab(43.83, 60.02, -66.37)
CIE-LCHlch(43.83, 89.48, 312.12°)
OKLaboklab(54.25% 0.116 -0.1892)
OKLCHoklch(54.25% 0.222 301.5)
XYZxyz(24.4308, 13.7214, 66.3138)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893ED8 #8DD83E
analogous
#3E40D8 #893ED8 #D63ED8
triadic
#893ED8 #D8893E #3ED889
tetradic
#893ED8 #D83E40 #8DD83E #3ED8D6
square
#893ED8 #D83E40 #8DD83E #3ED8D6
split-complementary
#893ED8 #D8D63E #40D83E
monochromatic
#4C1A81 #6B24B4 #893ED8 #A871E2 #C7A4ED

Accessibility & contrast

On white

5.61
#893ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#893ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893ED8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893ED8#FFFFFF#000000##FFFFFF
##893ED81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#786487
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #893ed8;
/* rgb */ color: rgb(137, 62, 216);
/* oklch */ color: oklch(54.3% 0.222 301.5);
Tailwind
colors: {
  custom: {
    50: '#b27ae5',
    500: '#893ed8',
    950: '#000000',
  },
}
SCSS
$custom: #893ed8;
$custom-light: #b27ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#893ed8",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 216
  },
  "hsl": {
    "h": 269.221,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54254,
    "c": 0.22197,
    "h": 301.5
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#893ED8
secondary
#BAD998
accent
#E93E96
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #893ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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