#893FC7#893FC7

#893FC7 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.203 H 305.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#893FC7
RGBrgb(137, 63, 199)
HSLhsl(273, 55%, 51%)
HSVhsv(273, 68%, 78%)
CMYKcmyk(31.2%, 68.3%, 0%, 22%)
CIE-LABlab(42.76, 55.58, -58.31)
CIE-LCHlch(42.76, 80.55, 313.62°)
OKLaboklab(53.1% 0.1177 -0.1655)
OKLCHoklch(53.1% 0.203 305.4)
XYZxyz(22.4006, 12.9971, 55.3503)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FC7 #7DC73F
analogous
#453FC7 #893FC7 #C73FC1
triadic
#893FC7 #C7893F #3FC789
tetradic
#893FC7 #C7453F #7DC73F #3FC1C7
square
#893FC7 #C7453F #7DC73F #3FC1C7
split-complementary
#893FC7 #C1C73F #3FC745
monochromatic
#49206C #692D9B #893FC7 #A66ED5 #C39EE3

Accessibility & contrast

On white

5.83
#893FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#893FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FC7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FC7#FFFFFF#000000##FFFFFF
##893FC71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0E65C4
Tritanopia (blue-blind)
#7E5E7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #893fc7;
/* rgb */ color: rgb(137, 63, 199);
/* oklch */ color: oklch(53.1% 0.203 305.4);
Tailwind
colors: {
  custom: {
    50: '#b079d9',
    500: '#893fc7',
    950: '#000000',
  },
}
SCSS
$custom: #893fc7;
$custom-light: #b079d9;
$custom-dark: #000000;
JSON
{
  "hex": "#893fc7",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 272.647,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.20309,
    "h": 305.4
  },
  "luminance": 0.12997
}

Semantic roles & 50–950 ramp

primary
#893FC7
secondary
#AECF93
accent
#DE4A8D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #893FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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