#893FC4#893FC4

#893FC4 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.200 H 306.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#893FC4
RGBrgb(137, 63, 196)
HSLhsl(273, 53%, 51%)
HSVhsv(273, 68%, 77%)
CMYKcmyk(30.1%, 67.9%, 0%, 23.1%)
CIE-LABlab(42.55, 54.88, -56.90)
CIE-LCHlch(42.55, 79.06, 313.96°)
OKLaboklab(52.89% 0.118 -0.1614)
OKLCHoklch(52.89% 0.2 306.2)
XYZxyz(22.0557, 12.8591, 53.5340)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FC4 #7AC43F
analogous
#463FC4 #893FC4 #C43FBD
triadic
#893FC4 #C4893F #3FC489
tetradic
#893FC4 #C4463F #7AC43F #3FBDC4
square
#893FC4 #C4463F #7AC43F #3FBDC4
split-complementary
#893FC4 #BDC43F #3FC446
monochromatic
#482068 #692E97 #893FC4 #A66ED2 #C39DE1

Accessibility & contrast

On white

5.88
#893FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#893FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FC4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FC4#FFFFFF#000000##FFFFFF
##893FC41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#1765C1
Tritanopia (blue-blind)
#7F5C7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893fc4;
/* rgb */ color: rgb(137, 63, 196);
/* oklch */ color: oklch(52.9% 0.200 306.2);
Tailwind
colors: {
  custom: {
    50: '#b079d7',
    500: '#893fc4',
    950: '#000000',
  },
}
SCSS
$custom: #893fc4;
$custom-light: #b079d7;
$custom-dark: #000000;
JSON
{
  "hex": "#893fc4",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 273.383,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.19995,
    "h": 306.2
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#893FC4
secondary
#ACCD92
accent
#DC4B8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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