#893EC6#893EC6

#893EC6 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.203 H 305.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#893EC6
RGBrgb(137, 62, 198)
HSLhsl(273, 54%, 51%)
HSVhsv(273, 69%, 78%)
CMYKcmyk(30.8%, 68.7%, 0%, 22.4%)
CIE-LABlab(42.52, 55.81, -58.11)
CIE-LCHlch(42.52, 80.57, 313.84°)
OKLaboklab(52.91% 0.1188 -0.1649)
OKLCHoklch(52.91% 0.203 305.8)
XYZxyz(22.2300, 12.8410, 54.7226)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EC6 #7BC63E
analogous
#453EC6 #893EC6 #C63EBF
triadic
#893EC6 #C6893E #3EC689
tetradic
#893EC6 #C6453E #7BC63E #3EBFC6
square
#893EC6 #C6453E #7BC63E #3EBFC6
split-complementary
#893EC6 #BFC63E #3EC645
monochromatic
#491F6A #692D99 #893EC6 #A66DD4 #C39CE2

Accessibility & contrast

On white

5.89
#893EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#893EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EC6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EC6#FFFFFF#000000##FFFFFF
##893EC61.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0F65C3
Tritanopia (blue-blind)
#7E5D7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893ec6;
/* rgb */ color: rgb(137, 62, 198);
/* oklch */ color: oklch(52.9% 0.203 305.8);
Tailwind
colors: {
  custom: {
    50: '#b079d8',
    500: '#893ec6',
    950: '#000000',
  },
}
SCSS
$custom: #893ec6;
$custom-light: #b079d8;
$custom-dark: #000000;
JSON
{
  "hex": "#893ec6",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 273.088,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.20329,
    "h": 305.8
  },
  "luminance": 0.12841
}

Semantic roles & 50–950 ramp

primary
#893EC6
secondary
#ADCE92
accent
#DE4A8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83

Preview Lab

Preview with #893EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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