#893ED6#893ED6

#893ED6 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.220 H 302.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#893ED6
RGBrgb(137, 62, 214)
HSLhsl(270, 65%, 54%)
HSVhsv(270, 71%, 84%)
CMYKcmyk(36%, 71%, 0%, 16.1%)
CIE-LABlab(43.68, 59.55, -65.47)
CIE-LCHlch(43.68, 88.50, 312.29°)
OKLaboklab(54.1% 0.1164 -0.1866)
OKLCHoklch(54.1% 0.22 302)
XYZxyz(24.1738, 13.6186, 64.9604)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893ED6 #8BD63E
analogous
#3E3FD6 #893ED6 #D53ED6
triadic
#893ED6 #D6893E #3ED689
tetradic
#893ED6 #D63E3F #8BD63E #3ED6D5
square
#893ED6 #D63E3F #8BD63E #3ED6D5
split-complementary
#893ED6 #D6D53E #3FD63E
monochromatic
#4C1B7F #6A26B1 #893ED6 #A870E1 #C7A3EB

Accessibility & contrast

On white

5.64
#893ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#893ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893ED6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893ED6#FFFFFF#000000##FFFFFF
##893ED61.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#796386
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #893ed6;
/* rgb */ color: rgb(137, 62, 214);
/* oklch */ color: oklch(54.1% 0.220 302.0);
Tailwind
colors: {
  custom: {
    50: '#b179e4',
    500: '#893ed6',
    950: '#000000',
  },
}
SCSS
$custom: #893ed6;
$custom-light: #b179e4;
$custom-dark: #000000;
JSON
{
  "hex": "#893ed6",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 269.605,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.2199,
    "h": 302
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#893ED6
secondary
#B8D898
accent
#E84095
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #893ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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