#893FC5#893FC5

#893FC5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.201 H 305.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#893FC5
RGBrgb(137, 63, 197)
HSLhsl(273, 54%, 51%)
HSVhsv(273, 68%, 77%)
CMYKcmyk(30.5%, 68%, 0%, 22.7%)
CIE-LABlab(42.62, 55.11, -57.37)
CIE-LCHlch(42.62, 79.56, 313.85°)
OKLaboklab(52.96% 0.1179 -0.1628)
OKLCHoklch(52.96% 0.201 305.9)
XYZxyz(22.1699, 12.9048, 54.1354)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FC5 #7BC53F
analogous
#463FC5 #893FC5 #C53FBE
triadic
#893FC5 #C5893F #3FC589
tetradic
#893FC5 #C5463F #7BC53F #3FBEC5
square
#893FC5 #C5463F #7BC53F #3FBEC5
split-complementary
#893FC5 #BEC53F #3FC546
monochromatic
#49206A #692E99 #893FC5 #A66ED3 #C39DE1

Accessibility & contrast

On white

5.86
#893FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#893FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FC5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FC5#FFFFFF#000000##FFFFFF
##893FC51.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#1565C2
Tritanopia (blue-blind)
#7F5D7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #893fc5;
/* rgb */ color: rgb(137, 63, 197);
/* oklch */ color: oklch(53.0% 0.201 305.9);
Tailwind
colors: {
  custom: {
    50: '#b079d7',
    500: '#893fc5',
    950: '#000000',
  },
}
SCSS
$custom: #893fc5;
$custom-light: #b079d7;
$custom-dark: #000000;
JSON
{
  "hex": "#893fc5",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 273.134,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.20099,
    "h": 305.9
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#893FC5
secondary
#ADCE92
accent
#DD4B8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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