#893DC7#893DC7

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

Color values

HEX#893DC7
RGBrgb(137, 61, 199)
HSLhsl(273, 55%, 51%)
HSVhsv(273, 69%, 78%)
CMYKcmyk(31.2%, 69.3%, 0%, 22%)
CIE-LABlab(42.43, 56.50, -58.84)
CIE-LCHlch(42.43, 81.58, 313.83°)
OKLaboklab(52.87% 0.1198 -0.1671)
OKLCHoklch(52.87% 0.206 305.6)
XYZxyz(22.2918, 12.7795, 55.3141)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DC7 #7BC73D
analogous
#443DC7 #893DC7 #C73DC0
triadic
#893DC7 #C7893D #3DC789
tetradic
#893DC7 #C7443D #7BC73D #3DC0C7
square
#893DC7 #C7443D #7BC73D #3DC0C7
split-complementary
#893DC7 #C0C73D #3DC744
monochromatic
#491F6B #692D9A #893DC7 #A66CD5 #C39CE2

Accessibility & contrast

On white

5.91
#893DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#893DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DC7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DC7#FFFFFF#000000##FFFFFF
##893DC71.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0664C4
Tritanopia (blue-blind)
#7E5C7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893dc7;
/* rgb */ color: rgb(137, 61, 199);
/* oklch */ color: oklch(52.9% 0.206 305.6);
Tailwind
colors: {
  custom: {
    50: '#b078d9',
    500: '#893dc7',
    950: '#000000',
  },
}
SCSS
$custom: #893dc7;
$custom-light: #b078d9;
$custom-dark: #000000;
JSON
{
  "hex": "#893dc7",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 273.043,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52867,
    "c": 0.20558,
    "h": 305.6
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#893DC7
secondary
#ADCE91
accent
#DF498C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #893DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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