#893EC7#893EC7

#893EC7 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.204 H 305.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#893EC7
RGBrgb(137, 62, 199)
HSLhsl(273, 55%, 51%)
HSVhsv(273, 69%, 78%)
CMYKcmyk(31.2%, 68.8%, 0%, 22%)
CIE-LABlab(42.59, 56.04, -58.58)
CIE-LCHlch(42.59, 81.07, 313.73°)
OKLaboklab(52.98% 0.1187 -0.1663)
OKLCHoklch(52.98% 0.204 305.5)
XYZxyz(22.3457, 12.8873, 55.3320)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EC7 #7CC73E
analogous
#443EC7 #893EC7 #C73EC0
triadic
#893EC7 #C7893E #3EC789
tetradic
#893EC7 #C7443E #7CC73E #3EC0C7
square
#893EC7 #C7443E #7CC73E #3EC0C7
split-complementary
#893EC7 #C0C73E #3EC744
monochromatic
#491F6B #692D9B #893EC7 #A66DD5 #C39DE3

Accessibility & contrast

On white

5.87
#893EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#893EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EC7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EC7#FFFFFF#000000##FFFFFF
##893EC71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0A65C4
Tritanopia (blue-blind)
#7E5D7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #893ec7;
/* rgb */ color: rgb(137, 62, 199);
/* oklch */ color: oklch(53.0% 0.204 305.5);
Tailwind
colors: {
  custom: {
    50: '#b079d9',
    500: '#893ec7',
    950: '#000000',
  },
}
SCSS
$custom: #893ec7;
$custom-light: #b079d9;
$custom-dark: #000000;
JSON
{
  "hex": "#893ec7",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 272.847,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52984,
    "c": 0.20433,
    "h": 305.5
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#893EC7
secondary
#AECF92
accent
#DE498D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #893EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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