#893DC5#893DC5

#893DC5 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.203 H 306.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#893DC5
RGBrgb(137, 61, 197)
HSLhsl(274, 54%, 51%)
HSVhsv(274, 69%, 77%)
CMYKcmyk(30.5%, 69%, 0%, 22.7%)
CIE-LABlab(42.29, 56.04, -57.91)
CIE-LCHlch(42.29, 80.58, 314.06°)
OKLaboklab(52.72% 0.12 -0.1643)
OKLCHoklch(52.72% 0.204 306.1)
XYZxyz(22.0611, 12.6873, 54.0992)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DC5 #79C53D
analogous
#453DC5 #893DC5 #C53DBD
triadic
#893DC5 #C5893D #3DC589
tetradic
#893DC5 #C5453D #79C53D #3DBDC5
square
#893DC5 #C5453D #79C53D #3DBDC5
split-complementary
#893DC5 #BDC53D #3DC545
monochromatic
#481F68 #692D98 #893DC5 #A66CD3 #C29BE1

Accessibility & contrast

On white

5.94
#893DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#893DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DC5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DC5#FFFFFF#000000##FFFFFF
##893DC51.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0F64C2
Tritanopia (blue-blind)
#7F5C7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893dc5;
/* rgb */ color: rgb(137, 61, 197);
/* oklch */ color: oklch(52.7% 0.203 306.1);
Tailwind
colors: {
  custom: {
    50: '#b078d7',
    500: '#893dc5',
    950: '#000000',
  },
}
SCSS
$custom: #893dc5;
$custom-light: #b078d7;
$custom-dark: #000000;
JSON
{
  "hex": "#893dc5",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 273.529,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52722,
    "c": 0.2035,
    "h": 306.1
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#893DC5
secondary
#ABCD91
accent
#DD4A8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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