#893ED4#893ED4

#893ED4 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.218 H 302.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#893ED4
RGBrgb(137, 62, 212)
HSLhsl(270, 64%, 54%)
HSVhsv(270, 71%, 83%)
CMYKcmyk(35.4%, 70.8%, 0%, 16.9%)
CIE-LABlab(43.53, 59.07, -64.56)
CIE-LCHlch(43.53, 87.51, 312.46°)
OKLaboklab(53.95% 0.1167 -0.1839)
OKLCHoklch(53.95% 0.218 302.4)
XYZxyz(23.9200, 13.5170, 63.6235)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893ED4 #89D43E
analogous
#3E3ED4 #893ED4 #D43ED4
triadic
#893ED4 #D4893E #3ED489
tetradic
#893ED4 #D43E3E #89D43E #3ED4D4
square
#893ED4 #D43E3E #89D43E #3ED4D4
split-complementary
#893ED4 #D4D43E #3ED43E
monochromatic
#4C1C7C #6A27AE #893ED4 #A870DF #C6A2EA

Accessibility & contrast

On white

5.67
#893ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#893ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893ED4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893ED4#FFFFFF#000000##FFFFFF
##893ED41.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#796285
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #893ed4;
/* rgb */ color: rgb(137, 62, 212);
/* oklch */ color: oklch(53.9% 0.218 302.4);
Tailwind
colors: {
  custom: {
    50: '#b179e2',
    500: '#893ed4',
    950: '#000000',
  },
}
SCSS
$custom: #893ed4;
$custom-light: #b179e2;
$custom-dark: #000000;
JSON
{
  "hex": "#893ed4",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 270,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53948,
    "c": 0.21783,
    "h": 302.4
  },
  "luminance": 0.13517
}

Semantic roles & 50–950 ramp

primary
#893ED4
secondary
#B7D797
accent
#E74194
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #893ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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