#893CC5#893CC5

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

Color values

HEX#893CC5
RGBrgb(137, 60, 197)
HSLhsl(274, 54%, 50%)
HSVhsv(274, 70%, 77%)
CMYKcmyk(30.5%, 69.5%, 0%, 22.7%)
CIE-LABlab(42.13, 56.49, -58.17)
CIE-LCHlch(42.13, 81.09, 314.16°)
OKLaboklab(52.61% 0.1211 -0.1651)
OKLCHoklch(52.61% 0.205 306.3)
XYZxyz(22.0082, 12.5815, 54.0816)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893CC5 #78C53C
analogous
#453CC5 #893CC5 #C53CBC
triadic
#893CC5 #C5893C #3CC589
tetradic
#893CC5 #C5453C #78C53C #3CBCC5
square
#893CC5 #C5453C #78C53C #3CBCC5
split-complementary
#893CC5 #BCC53C #3CC545
monochromatic
#481F68 #682D97 #893CC5 #A66BD3 #C29AE1

Accessibility & contrast

On white

5.97
#893CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#893CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893CC5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893CC5#FFFFFF#000000##FFFFFF
##893CC51.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0B64C2
Tritanopia (blue-blind)
#7F5B7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #893cc5;
/* rgb */ color: rgb(137, 60, 197);
/* oklch */ color: oklch(52.6% 0.205 306.3);
Tailwind
colors: {
  custom: {
    50: '#b078d7',
    500: '#893cc5',
    950: '#000000',
  },
}
SCSS
$custom: #893cc5;
$custom-light: #b078d7;
$custom-dark: #000000;
JSON
{
  "hex": "#893cc5",
  "rgb": {
    "r": 137,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 273.723,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.20474,
    "h": 306.3
  },
  "luminance": 0.12581
}

Semantic roles & 50–950 ramp

primary
#893CC5
secondary
#ABCD90
accent
#DE4A8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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