#893BC7#893BC7

#893BC7 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.208 H 305.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#893BC7
RGBrgb(137, 59, 199)
HSLhsl(273, 56%, 51%)
HSVhsv(273, 70%, 78%)
CMYKcmyk(31.2%, 70.4%, 0%, 22%)
CIE-LABlab(42.11, 57.40, -59.36)
CIE-LCHlch(42.11, 82.57, 314.03°)
OKLaboklab(52.64% 0.1218 -0.1686)
OKLCHoklch(52.64% 0.208 305.8)
XYZxyz(22.1870, 12.5700, 55.2792)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893BC7 #79C73B
analogous
#433BC7 #893BC7 #C73BBF
triadic
#893BC7 #C7893B #3BC789
tetradic
#893BC7 #C7433B #79C73B #3BBFC7
square
#893BC7 #C7433B #79C73B #3BBFC7
split-complementary
#893BC7 #BFC73B #3BC743
monochromatic
#481E69 #692C99 #893BC7 #A66BD5 #C29AE2

Accessibility & contrast

On white

5.98
#893BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#893BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893BC7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893BC7#FFFFFF#000000##FFFFFF
##893BC71.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#7E5B7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #893bc7;
/* rgb */ color: rgb(137, 59, 199);
/* oklch */ color: oklch(52.6% 0.208 305.8);
Tailwind
colors: {
  custom: {
    50: '#b077d9',
    500: '#893bc7',
    950: '#000000',
  },
}
SCSS
$custom: #893bc7;
$custom-light: #b077d9;
$custom-dark: #000000;
JSON
{
  "hex": "#893bc7",
  "rgb": {
    "r": 137,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 273.429,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52638,
    "c": 0.208,
    "h": 305.8
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#893BC7
secondary
#ABCE90
accent
#DF498B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #893BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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